Class TheoryDataRowBase
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
Provide a base implemention of ITheoryDataRow with settable properties and deferred data storage.
public abstract class TheoryDataRowBase : ITheoryDataRow
- Inheritance
-
TheoryDataRowBase
- Implements
- Derived
- Inherited Members
- Extension Methods
-
Xunit.TheoryDataRowBaseExtensions.WithExplicit``1(``0,System.Nullable{System.Boolean})Xunit.TheoryDataRowBaseExtensions.WithSkip``1(``0,System.String)Xunit.TheoryDataRowBaseExtensions.WithTestDisplayName``1(``0,System.String)Xunit.TheoryDataRowBaseExtensions.WithTimeout``1(``0,System.Nullable{System.Int32})Xunit.TheoryDataRowBaseExtensions.WithTrait``1(``0,System.String,System.String)
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 or sets the traits for the theory data row.