Method RegisterCodeGenTestMethod
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.aot.dll
RegisterCodeGenTestMethod(string, string, CodeGenTestMethodRegistration)
Registers the presence of an xUnit.net v3 test class via code generation.
public static void RegisterCodeGenTestMethod(string testClassIndex, string methodName, CodeGenTestMethodRegistration 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).methodNamestringThe test method name
registrationThe test method registration
Remarks
This is typically called when test methods are found during code generation.