TestCaseSourceAttribute indicates the source to be used to provide test cases for a test method.
More...
|
| string | SourceName [get, private set] |
| | The name of a the method, property or fiend to be used as a source More...
|
| |
| Type | SourceType [get, private set] |
| | A Type to be used as a source More...
|
| |
| string | Category [get, set] |
| | Gets or sets the category associated with every fixture created from this attribute. May be a single category or a comma-separated list. More...
|
| |
TestCaseSourceAttribute indicates the source to be used to provide test cases for a test method.
| NUnit.Framework.TestCaseSourceAttribute.TestCaseSourceAttribute |
( |
string |
sourceName | ) |
|
|
inline |
Construct with the name of the method, property or field that will provide data
- Parameters
-
| sourceName | The name of a static method, property or field that will provide data. |
| NUnit.Framework.TestCaseSourceAttribute.TestCaseSourceAttribute |
( |
Type |
sourceType, |
|
|
string |
sourceName |
|
) |
| |
|
inline |
Construct with a Type and name
- Parameters
-
| sourceType | The Type that will provide data |
| sourceName | The name of a static method, property or field that will provide data. |
| NUnit.Framework.TestCaseSourceAttribute.TestCaseSourceAttribute |
( |
Type |
sourceType | ) |
|
|
inline |
Construct with a Type
- Parameters
-
| sourceType | The type that will provide data |
| IEnumerable NUnit.Framework.TestCaseSourceAttribute.GetTestCaseSource |
( |
IMethodInfo |
method | ) |
|
|
inlineprivate |
| static IEnumerable NUnit.Framework.TestCaseSourceAttribute.SourceMustBeStaticError |
( |
| ) |
|
|
inlinestaticprivate |
| string NUnit.Framework.TestCaseSourceAttribute.SourceName |
|
getprivate set |
The name of a the method, property or fiend to be used as a source
| Type NUnit.Framework.TestCaseSourceAttribute.SourceType |
|
getprivate set |
A Type to be used as a source
| string NUnit.Framework.TestCaseSourceAttribute.Category |
|
getset |
Gets or sets the category associated with every fixture created from this attribute. May be a single category or a comma-separated list.
The documentation for this class was generated from the following file: