Method FindTestsForMethod
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
FindTestsForMethod(IXunitTestMethod, ITestFrameworkDiscoveryOptions, Func<ITestCase, ValueTask<bool>>)
Finds the tests on a test method.
protected virtual ValueTask<bool> FindTestsForMethod(IXunitTestMethod testMethod, ITestFrameworkDiscoveryOptions discoveryOptions, Func<ITestCase, ValueTask<bool>> discoveryCallback)
Parameters
testMethodThe test method.
discoveryOptionsThe options used by the test framework during discovery.
discoveryCallbackFunc<ITestCase, ValueTask<bool>>The callback that is called for each discovered test case.