Class XunitDelayEnumeratedTheoryTestCase
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
Represents a test case which runs multiple tests for theory data, either because theory data pre-enumeration was disabled or because the data was not serializable.
public class XunitDelayEnumeratedTheoryTestCase : XunitTestCase, IXunitSerializable, IAsyncDisposable, IXunitDelayEnumeratedTestCase, IXunitTestCase, ITestCase, ITestCaseMetadata
- Inheritance
-
XunitDelayEnumeratedTheoryTestCase
- Implements
- Inherited Members
Constructors
- XunitDelayEnumeratedTheoryTestCase()
Called by the de-serializer; should only be called by deriving classes for de-serialization purposes
- XunitDelayEnumeratedTheoryTestCase(IXunitTestMethod, string, string, bool, bool, Type[]?, string?, Type?, string?, string?, Dictionary<string, HashSet<string>>?, string?, int?, int?)
Initializes a new instance of the XunitDelayEnumeratedTheoryTestCase class.
Properties
- SkipTestWithoutData
Gets a flag which indicates whether a theory without data is skipped rather than failed.
Methods
- CreateTests()
Enumerates the theory data and creates tests to be run.
- Deserialize(IXunitSerializationInfo)
Called when the test case should populate itself with data from the serialization info.
- Serialize(IXunitSerializationInfo)
Called when the test case should store its serialized values into the serialization info.