Method ForTest
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
ForTest(string, int)
Computes a unique ID for a test.
public static string ForTest(string testCaseUniqueID, int testIndex)
Parameters
testCaseUniqueIDstringThe unique ID of the test case that this test belongs to.
testIndexintThe index of this test in the test case, typically starting with 0 (though a negative number may be used to prevent collisions with legitimate test indices).