Method ForDiscoveryAndExecution
- Namespace
- Xunit.Runner.v3
- Assembly
- xunit.v3.runner.utility.netfx.dll
ForDiscoveryAndExecution(XunitProjectAssembly, ISourceInformationProvider?, IMessageSink?, ITestProcessLauncher?)
Returns an implementation of IFrontController which can be used for both discovery and execution of xUnit.net v3 tests.
public static IFrontController ForDiscoveryAndExecution(XunitProjectAssembly projectAssembly, ISourceInformationProvider? sourceInformationProvider = null, IMessageSink? diagnosticMessageSink = null, ITestProcessLauncher? testProcessLauncher = null)
Parameters
projectAssemblyThe test project assembly.
sourceInformationProviderThe optional source information provider.
diagnosticMessageSinkThe message sink which receives IDiagnosticMessage and IInternalDiagnosticMessage messages.
testProcessLauncherThe test process launcher to use for starting the xUnit.net v3 test process. If not specified, will use LocalOutOfProcessTestProcessLauncher.