xUnit.net
Public Member Functions | List of all members
Xunit.Sdk.IXunitTestCaseDiscoverer Interface Reference

Interface to be implemented by classes which are used to discover tests cases attached to test methods that are attributed with FactAttribute (or a subclass). More...

Public Member Functions

IEnumerable< IXunitTestCaseDiscover (ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
 Discover test cases from a test method. More...
 

Detailed Description

Interface to be implemented by classes which are used to discover tests cases attached to test methods that are attributed with FactAttribute (or a subclass).

Member Function Documentation

◆ Discover()

IEnumerable<IXunitTestCase> Xunit.Sdk.IXunitTestCaseDiscoverer.Discover ( ITestFrameworkDiscoveryOptions  discoveryOptions,
ITestMethod  testMethod,
IAttributeInfo  factAttribute 
)

Discover test cases from a test method.

Parameters
discoveryOptionsThe discovery options to be used.
testMethodThe test method the test cases belong to.
factAttributeThe fact attribute attached to the test method.
Returns
Returns zero or more test cases represented by the test method.

The documentation for this interface was generated from the following file: