The ITestBuilder type exposes the following members.

Methods

  NameDescription
AddDeferredAction
Registers a deferred action to be performed when ApplyDeferredActions()()() is called.
(Inherited from ISupportDeferredActions.)
AddDependency
Adds a test dependency.
AddMetadata
Adds a metadata key value pair.
(Inherited from ITestComponentBuilder.)
ApplyDeferredActions
Applies all pending deferred in order and clears the list.
(Inherited from ISupportDeferredActions.)
CreateChild
Creates a child test and returns its builder.
CreateParameter
Creates a test parameter and returns its builder.
GetParameter
Gets a test parameter builder by name.
ToTest
Gets the underlying test.
ToTestComponent
Gets the underlying test component.
(Inherited from ITestComponentBuilder.)

Properties

  NameDescription
ApartmentState
Gets or sets the apartment state to be used to run the test.
CodeElement
Gets a reference to the point of definition of this test component in the code, or null if unknown.
(Inherited from ITestComponentBuilder.)
Id
Gets the stable unique identifier of the component.
(Inherited from ITestComponentBuilder.)
IsParallelizable
Gets or sets whether the test is parallelizable.
IsTestCase
Gets whether this test represents an individual test case as opposed to a test container such as a fixture or suite.
Kind
Gets or sets the value of the TestKind metadata entry. (This is a convenience method.)
LocalId
Gets a locally unique identifier for this test that satisfies some specific conditions.
LocalIdHint
Gets or sets a suggested LocalId hint, or null if none.
Name
Gets or sets the name of the component.
(Inherited from ITestComponentBuilder.)
Order
Gets or sets a number that defines an ordering for the test with respect to its siblings.
TestActions
Gets the set of actions that describe the behavior of the test.
TestInstanceActions
Gets the set of actions that describe the behavior of the test's instances.
TimeoutFunc
Gets or sets the maximum amount of time the whole test including its setup, teardown and body should be permitted to run.

See Also