Interface IXunitTestCaseDiscoverer
Interface to be implemented by classes which are used to discover tests cases attached to test methods that are attributed with an implementation of IFactAttribute.
public interface IXunitTestCaseDiscoverer
Methods
Discover(ITestFrameworkDiscoveryOptions, IXunitTestMethod, IFactAttribute)
Discover test cases from a test method.
ValueTask<IReadOnlyCollection<IXunitTestCase>> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, IXunitTestMethod testMethod, IFactAttribute factAttribute)
Parameters
discoveryOptionsITestFrameworkDiscoveryOptionsThe discovery options to be used.
testMethodIXunitTestMethodThe test method the test cases belong to.
factAttributeIFactAttributeThe fact attribute attached to the test method.
Returns
- ValueTask<IReadOnlyCollection<IXunitTestCase>>
Returns zero or more test cases represented by the test method.