Interface ITheoryDataRow
- Namespace
- Xunit
- Assembly
- xunit.v3.core.aot.dll
Represents a single row of theory data, along with optional metadata attached to the row.
public interface ITheoryDataRow
Properties
- DisableParallelization
Determines whether the test from this theory data row should run in parallel against any other parallelizable tests.
- 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 FactAttribute.Explicit.
- Label
Gets the label to use for the data row. This value is used to help format the display name of the test.
- SkipUnless
Gets a function which indicates whether the test should be skipped (false) or not (true).
- TestDisplayName
Gets the display name for the test (replacing the default behavior, which would be to use TestDisplayName or FactAttribute.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 Xunit.v3.IDataAttribute or the Xunit.v3.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.