Method GetTestCaseDetails
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetTestCaseDetails(ITestFrameworkDiscoveryOptions, IXunitTestMethod, IFactAttribute, object?[]?, int?, string?)
Retrieve the details for a test case that is a test method decorated with an instance of IFactAttribute (or derived).
public static (string TestCaseDisplayName, bool Explicit, Type[]? SkipExceptions, string? SkipReason, Type? SkipType, string? SkipUnless, string? SkipWhen, int Timeout, string UniqueID, IXunitTestMethod ResolvedTestMethod) GetTestCaseDetails(ITestFrameworkDiscoveryOptions discoveryOptions, IXunitTestMethod testMethod, IFactAttribute factAttribute, object?[]? testMethodArguments = null, int? timeout = null, string? baseDisplayName = null)
Parameters
discoveryOptionsThe options used for discovery.
testMethodThe test method.
factAttributeThe fact attribute that decorates the test method.
testMethodArgumentsobject[]The optional test method arguments.
timeoutint?The optional timeout; if not provided, will be looked up from the
factAttribute.baseDisplayNamestringThe optional base display name for the test method.