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
testClassIndexstringThe test class index (per RegisterCodeGenTestClass(string, CodeGenTestClassRegistration))
traitNamestringThe name of the trait
traitValuesstring[]The values associated with the trait name