Method ForTestMethod
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
ForTestMethod(string?, string?)
Computes a unique ID for a test method.
public static string? ForTestMethod(string? testClassUniqueID, string? methodName)
Parameters
testClassUniqueIDstringThe unique ID of the parent test class for the test method
methodNamestringThe optional test method name
Returns
- string
The computed unique ID for the test method (may return
nullif either the class unique ID or the method name is null)