Method Discover
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
Discover(ITestFrameworkDiscoveryOptions, IXunitTestMethod, IFactAttribute)
Discover test cases from a test method.
ValueTask<IReadOnlyCollection<IXunitTestCase>> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, IXunitTestMethod testMethod, IFactAttribute factAttribute)
Parameters
discoveryOptions
The discovery options to be used.
testMethod
The test method the test cases belong to.
factAttribute
The fact attribute attached to the test method.
Returns
- ValueTask<IReadOnlyCollection<IXunitTestCase>>
Returns zero or more test cases represented by the test method.