TestDataSourceUnfoldingStrategy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how parameterized tests should be executed, either as individual test cases for each data row or as a single test case. This affects the test results and the UI representation of the tests.
public enum TestDataSourceUnfoldingStrategy
type TestDataSourceUnfoldingStrategy =
Public Enum TestDataSourceUnfoldingStrategy
- Inheritance
-
TestDataSourceUnfoldingStrategy
Fields
Name | Value | Description |
---|---|---|
Auto | 0 | MSTest will decide whether to unfold the parameterized test based on value from the assembly level attribute TestDataSourceOptionsAttribute. If no assembly level attribute is specified, then the default configuration is to unfold. |
Unfold | 1 | Each data row is treated as a separate test case. |
Fold | 2 | The parameterized test is not unfolded; all data rows are treated as a single test case. |