3
namespace NUnit.Framework.Internal
6
/// The ITestCommand interface is implemented by an
7
/// object that knows how to run a test.
9
public interface ITestCommand
12
/// Gets the Test to which this command applies.
17
/// Gets any child TestCommands of this command
19
/// <value>A list of child TestCommands</value>
20
#if CLR_2_0 || CLR_4_0
21
System.Collections.Generic.IList<ITestCommand> Children { get; }
23
System.Collections.IList Children { get; }
27
/// Runs the test, returning a TestResult.
29
/// <param name="testObject">The object on which the test should run.</param>
30
/// <returns>A TestResult</returns>
31
TestResult Execute(object testObject);