Method RegisterCodeGenTestClass
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.aot.dll
RegisterCodeGenTestClass(string, CodeGenTestClassRegistration)
Registers the presence of an xUnit.net v3 test class via code generation.
public static void RegisterCodeGenTestClass(string testClassIndex, CodeGenTestClassRegistration registration)
Parameters
testClassIndexstringThe dictionary index of the test class. This is the C# compilation name for the test class (in the form of
global::Namespace.TypeName).registrationThe test class registration.
Remarks
This is typically called when test classes are found during code generation.