TestIdGenerationStrategy 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.
The supported test ID generation strategies.
public enum TestIdGenerationStrategy
type TestIdGenerationStrategy =
Public Enum TestIdGenerationStrategy
- Inheritance
-
TestIdGenerationStrategy
Fields
Name | Value | Description |
---|---|---|
Legacy | 0 | Uses legacy test ID generation. ITestDataSource tests will not be discovered and instead they will be collapsed into one parent test. |
DisplayName | 1 | Uses a combination of executor ID, file name, fully qualified name and display name to generate the test ID. |
FullyQualified | 2 | Uses a combination of executor ID, file path, assembly name, method fully qualified name and serialized data (values and their fully qualified type) to generate the test ID. |