TestFixtureAttribute is used to mark a class that represents a TestFixture.
More...
|
string | TestName [get, set] |
| Gets or sets the name of the test. More...
|
|
RunState | RunState [get, private set] |
| Gets or sets the RunState of this test fixture. More...
|
|
object[] | Arguments [get, private set] |
| The arguments originally provided to the attribute More...
|
|
IPropertyBag | Properties [get, private set] |
| Properties pertaining to this fixture More...
|
|
Type[] | TypeArgs [get, set] |
| Get or set the type arguments. If not set explicitly, any leading arguments that are Types are taken as type arguments. More...
|
|
string | Description [get, set] |
| Descriptive text for this fixture More...
|
|
string | Author [get, set] |
| The author of this fixture More...
|
|
Type | TestOf [get, set] |
| The type that this fixture is testing More...
|
|
string | Ignore [get, set] |
| Gets or sets the ignore reason. May set RunState as a side effect. More...
|
|
string | Reason [get, set] |
| Gets or sets the reason for not running the fixture. More...
|
|
string | IgnoreReason [get, set] |
| Gets or sets the ignore reason. When set to a non-null non-empty value, the test is marked as ignored. More...
|
|
bool | Explicit [get, set] |
| Gets or sets a value indicating whether this NUnit.Framework.TestFixtureAttribute is explicit. More...
|
|
string | Category [get, set] |
| Gets and sets the category for this fixture. May be a comma-separated list of categories. More...
|
|
Type[] | TypeArgs [get] |
| Get the TypeArgs if separately set More...
|
|
string | TestName [get] |
| Gets the name to be used for the test More...
|
|
RunState | RunState [get] |
| Gets the RunState for this test case. More...
|
|
object[] | Arguments [get] |
| Gets the argument list to be provided to the test More...
|
|
IPropertyBag | Properties [get] |
| Gets the property dictionary for the test case More...
|
|
TestFixtureAttribute is used to mark a class that represents a TestFixture.
NUnit.Framework.TestFixtureAttribute.TestFixtureAttribute |
( |
| ) |
|
|
inline |
NUnit.Framework.TestFixtureAttribute.TestFixtureAttribute |
( |
params object[] |
arguments | ) |
|
|
inline |
Construct with a object[] representing a set of arguments. In .NET 2.0, the arguments may later be separated into type arguments and constructor arguments.
- Parameters
-
IEnumerable<TestSuite> NUnit.Framework.TestFixtureAttribute.BuildFrom |
( |
ITypeInfo |
typeInfo | ) |
|
|
inline |
Build a fixture from type provided. Normally called for a Type on which the attribute has been placed.
- Parameters
-
typeInfo | The type info of the fixture to be used. |
- Returns
- A an IEnumerable holding one TestFixture object.
Implements NUnit.Framework.Interfaces.IFixtureBuilder.
Type NUnit.Framework.TestFixtureAttribute._testOf |
|
private |
string NUnit.Framework.TestFixtureAttribute.TestName |
|
getset |
Gets or sets the name of the test.
The name of the test.
RunState NUnit.Framework.TestFixtureAttribute.RunState |
|
getprivate set |
Gets or sets the RunState of this test fixture.
object [] NUnit.Framework.TestFixtureAttribute.Arguments |
|
getprivate set |
IPropertyBag NUnit.Framework.TestFixtureAttribute.Properties |
|
getprivate set |
Properties pertaining to this fixture
Type [] NUnit.Framework.TestFixtureAttribute.TypeArgs |
|
getset |
string NUnit.Framework.TestFixtureAttribute.Description |
|
getset |
Descriptive text for this fixture
string NUnit.Framework.TestFixtureAttribute.Author |
|
getset |
The author of this fixture
Type NUnit.Framework.TestFixtureAttribute.TestOf |
|
getset |
The type that this fixture is testing
string NUnit.Framework.TestFixtureAttribute.Ignore |
|
getset |
Gets or sets the ignore reason. May set RunState as a side effect.
The ignore reason.
string NUnit.Framework.TestFixtureAttribute.Reason |
|
getset |
Gets or sets the reason for not running the fixture.
The reason.
string NUnit.Framework.TestFixtureAttribute.IgnoreReason |
|
getset |
Gets or sets the ignore reason. When set to a non-null non-empty value, the test is marked as ignored.
The ignore reason.
bool NUnit.Framework.TestFixtureAttribute.Explicit |
|
getset |
string NUnit.Framework.TestFixtureAttribute.Category |
|
getset |
Gets and sets the category for this fixture. May be a comma-separated list of categories.
The documentation for this class was generated from the following file: