Provides a data source for a data theory, with the data coming from a class which must implement IEnumerable<object[]>. Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets.
More...
|
Type | Class [get] |
| Gets the type of the class that provides the data. More...
|
|
virtual string | Skip [get, set] |
| Marks all test cases generated by this data source as skipped. More...
|
|
Provides a data source for a data theory, with the data coming from a class which must implement IEnumerable<object[]>. Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets.
◆ ClassDataAttribute()
Xunit.ClassDataAttribute.ClassDataAttribute |
( |
Type @ |
class | ) |
|
|
inline |
Initializes a new instance of the ClassDataAttribute class.
- Parameters
-
class | The class that provides the data. |
◆ Class
Type Xunit.ClassDataAttribute.Class |
|
get |
Gets the type of the class that provides the data.
The documentation for this class was generated from the following file:
- xunit/src/xunit.core/ClassDataAttribute.cs