Table of Contents

Method RegisterCodeGenTestClassTrait

Namespace
Xunit.v3
Assembly
xunit.v3.core.aot.dll

RegisterCodeGenTestClassTrait(string, string, params string[])

Register one or more trait values for the given test class and trait name.

public static void RegisterCodeGenTestClassTrait(string testClassIndex, string traitName, params string[] traitValues)

Parameters

testClassIndex string

The test class index (per RegisterCodeGenTestClass(string, CodeGenTestClassRegistration))

traitName string

The name of the trait

traitValues string[]

The values associated with the trait name