TestIdGenerationStrategy Enum

Definition

The supported test ID generation strategies.

C#
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.

Applies to

Proizvod Verzije
MSTest.TestFramework 3.0.4, 3.1.1, 3.2.2, 3.3.1, 3.4.3, 3.5.1, 3.6.4, 3.7.3, 3.8.0