Abstract attribute which represents a data source for a data theory. Data source providers derive from this attribute and implement GetData to return the data for the theory. Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets.
More...
|
abstract IEnumerable< object[]> | GetData (MethodInfo testMethod) |
| Returns the data to be used to test the theory. More...
|
|
|
virtual string | Skip [get, set] |
| Marks all test cases generated by this data source as skipped. More...
|
|
Abstract attribute which represents a data source for a data theory. Data source providers derive from this attribute and implement GetData to return the data for the theory. Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets.
◆ GetData()
abstract IEnumerable<object[]> Xunit.Sdk.DataAttribute.GetData |
( |
MethodInfo |
testMethod | ) |
|
|
pure virtual |
◆ Skip
virtual string Xunit.Sdk.DataAttribute.Skip |
|
getset |
Marks all test cases generated by this data source as skipped.
The documentation for this class was generated from the following file:
- xunit/src/xunit.core/Sdk/DataAttribute.cs