Method GetDiscoverer
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetDiscoverer(Type)
Gets the test case discover instance for the given discoverer type. The instances are cached and reused, since they should not be stateful.
protected static IXunitTestCaseDiscoverer? GetDiscoverer(Type discovererType)
Parameters
discovererTypeTypeThe discoverer type.
Returns
Returns the test case discoverer instance, if known; may return
nullwhen an error occurs (which is logged to the diagnostic message sink).