Method GetTestCaseDetailsForTheoryDataRow
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetTestCaseDetailsForTheoryDataRow(ITestFrameworkDiscoveryOptions, IXunitTestMethod, ITheoryAttribute, ITheoryDataRow, object?[])
Retrieve the details for a test case that is a test method decorated with an instance of ITheoryAttribute (or derived) when you have a data row. The data row is used to augment the returned information (traits, skip reason, etc.).
public static (string TestCaseDisplayName, bool Explicit, Type[]? SkipExceptions, string? SkipReason, Type? SkipType, string? SkipUnless, string? SkipWhen, int Timeout, string UniqueID, IXunitTestMethod ResolvedTestMethod) GetTestCaseDetailsForTheoryDataRow(ITestFrameworkDiscoveryOptions discoveryOptions, IXunitTestMethod testMethod, ITheoryAttribute theoryAttribute, ITheoryDataRow dataRow, object?[] testMethodArguments)
Parameters
discoveryOptionsThe options used for discovery.
testMethodThe test method.
theoryAttributeThe theory attribute that decorates the test method.
dataRowThe data row for the test.
testMethodArgumentsobject[]The test method arguments obtained from the
dataRowafter being type-resolved.