The ITestCommand type exposes the following members.

Methods

  NameDescription
AreDependenciesSatisfied
Returns true if all of the dependencies of this test command have been satisfied including transitive dependencies.
GetAllCommands
Gets a list consisting of this command and all of its descendants as enumerated by pre-order tree traversal.
StartPrimaryChildStep
Starts the primary step of the test associated with this command as a child of the specified test step and returns its test context.
StartStep
Starts a new step of the test using the specified test step object.

Properties

  NameDescription
Children
Gets the list of child commands to run within the scope of this command.
Dependencies
Gets the list of other commands that this command depends upon.
IsExplicit
Returns true if the test was explicitly selected by a filter.
PreOrderTraversal
Enumerates this command and all of its descendants in pre-order tree traversal.
RootStepFailureCount
Gets the number of times that a root step of this test has failed.
Test
Gets the test that is to be executed.
TestCount
Gets the total number of tests in the command subtree, including itself.

See Also