Method RegisterCodeGenTestMethodTrait
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.aot.dll
RegisterCodeGenTestMethodTrait(string, string, string, params string[])
Register one or more trait values for the given test class, test method, and trait name.
public static void RegisterCodeGenTestMethodTrait(string testClassIndex, string methodName, string traitName, params string[] traitValues)
Parameters
testClassIndexstringThe test class index (per RegisterCodeGenTestMethod(string, string, CodeGenTestMethodRegistration))
methodNamestringThe test method name (per RegisterCodeGenTestMethod(string, string, CodeGenTestMethodRegistration))
traitNamestringThe name of the trait
traitValuesstring[]The values associated with the trait name