Class HegelTestDiscoverer
Finds the test case of a HegelTestAttribute method for xUnit, named by the attribute's Xunit.Sdk.XunitTestCaseDiscovererAttribute; not called directly.
public sealed class HegelTestDiscoverer : IXunitTestCaseDiscoverer
- Inheritance
-
HegelTestDiscoverer
- Implements
-
IXunitTestCaseDiscoverer
- Inherited Members
Constructors
HegelTestDiscoverer(IMessageSink)
Called by xUnit.
public HegelTestDiscoverer(IMessageSink diagnosticMessageSink)
Parameters
diagnosticMessageSinkIMessageSink
Methods
Discover(ITestFrameworkDiscoveryOptions, ITestMethod, IAttributeInfo)
Discover test cases from a test method.
public IEnumerable<IXunitTestCase> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
Parameters
discoveryOptionsITestFrameworkDiscoveryOptionsThe discovery options to be used.
testMethodITestMethodThe test method the test cases belong to.
factAttributeIAttributeInfoThe fact attribute attached to the test method.
Returns
- IEnumerable<IXunitTestCase>
Returns zero or more test cases represented by the test method.