Summary
Common interface supported by all representations
of a test. Only includes informational fields.
- Namespace
- TCLite
.Interfaces - Interfaces
graph BT
Type-.->Interface0["IXmlNodeBuilder"]
click Interface0 "/tc-lite/api/TCLite.Interfaces/IXmlNodeBuilder"
Type["ITest"]
class Type type-node
Syntax
public interface ITest : IXmlNodeBuilder
Properties
Name | Value | Summary |
---|---|---|
Arguments | object[] |
The arguments to use in creating the test or empty array if none are required.
|
ClassName | string |
Gets the FullName of the class containing this test. Returns
null if the test is not associated with a class.
|
FullName | string |
Gets the fully qualified name of the test, which is
unique within the containing assembly.
|
HasChildren | bool |
Gets a bool indicating whether the current test
has any descendant tests.
|
Id | string |
Gets or sets the id of the test, which is expected to
be unique during the life of the test run.
|
IsSuite | bool |
Returns true if this is a test suite
|
MethodName | string |
Gets the name of the method implementing this test.
Returns null if the test is not implemented as a method.
|
Name | string |
Gets the display name of the test
|
Parent | ITest |
Gets the parent test, if any.
|
Properties | IPropertyBag |
Gets the properties of the test
|
RunState | RunState |
Gets or sets an enumeration indicating whether the test is
runnable or non-runnable for some reason.
|
Seed | int |
Gets the Int value representing the seed for the RandomGenerator
used when the test is run.
|
TestCaseCount | int |
Count of the test cases ( 1 if this is a test case )
|
Tests | IList |
Gets this test's child tests
|
TestType | string |
Gets a string indicating the type of the test
|