Test
The Test abstract class represents a test within the framework.
The SetUp methods.
The teardown methods
Gets or sets a fixture object for running this test.
Gets the Type of the fixture used in running this test
or null if no fixture type is associated with it.
Gets or sets the fully qualified name of the test
Gets a bool indicating whether the current test
has any descendant tests.
Gets or sets the id of the test
Returns true if this is a TestSuite
Gets a MethodInfo for the method implementing this test.
Returns null if the test is not implemented as a method.
Gets or sets the name of the test
Gets the parent as a Test object.
Used by the core to set the parent.
Gets the properties for this test
Whether or not the test should be run
Gets or Sets the Int value representing the seed for the RandomGenerator
Gets a count of test cases represented by
or contained under this test.
Gets this test's child tests
Gets a string representing the type of test. Used as an attribute
value in the XML representation of a test and has no other
function in the framework.
Gets the name used for the top-level element in the
XML representation of this test
Constructs a test given its name
Constructs a test given the path through the
test hierarchy to its parent and a name.
TODO: Documentation needed for constructor
Construct a test from a MethodInfo
Returns an XmlNode representing the current result after
adding it as a child of the supplied parent node.
Modify a newly constructed test by applying any of NUnit's common
attributes, based on a supplied ICustomAttributeProvider, which is
usually the reflection element from which the test was constructed,
but may not be in some instances. The attributes retrieved are
saved for use in subsequent operations.
Compares this test to another test for sorting purposes
Creates a TestResult for this test.
Add standard attributes and members to a test node.
Returns the Xml representation of the test