Interface ITheoryDataRow
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
Represents a single row of theory data, along with optional metadata attached to the row.
public interface ITheoryDataRow
Properties
- Explicit
Gets a flag that indicates that the data row should only be run explicitly. If the value is
null
, then it inherits its explicitness from the value of Explicit.
- Skip
Gets the reason for skipping this row of data; if
null
is returned, then the data row isn't skipped.
- TestDisplayName
Gets the display name for the test (replacing the default behavior, which would be to use TestDisplayName or DisplayName, or falling back to the default test display name based on TestMethodDisplay and TestMethodDisplayOptions in the configuration file).
- Timeout
A value greater than zero marks the test as having a timeout, and gets or sets the timeout (in milliseconds). A non-
null
value here overrides any inherited value from the IDataAttribute or the ITheoryAttribute.
- Traits
Gets the trait values associated with this theory data row. If there are none, you may either return a
null
or empty dictionary.
Methods
- GetData()
Gets the theory data.