Method Create
- Namespace
- Xunit
- Assembly
- xunit.v3.runner.utility.netfx.dll
Create(XunitProjectAssembly, ISourceInformationProvider?, IMessageSink?, ITestProcessLauncher?)
Returns an implementation of IFrontController which can be used for both discovery and execution.
If the assembly does not appear to be a test assembly, returns null.
public static IFrontController? Create(XunitProjectAssembly projectAssembly, ISourceInformationProvider? sourceInformationProvider = null, IMessageSink? diagnosticMessageSink = null, ITestProcessLauncher? testProcessLauncher = null)
Parameters
projectAssemblyThe test project assembly.
sourceInformationProviderThe optional source information provider.
diagnosticMessageSinkThe optional message sink which receives IDiagnosticMessage and IInternalDiagnosticMessage messages.
testProcessLauncherThe test process launcher, used to launch v3 test processes. If not provided, LocalOutOfProcessTestProcessLauncher will be used. (This value is not used when running v1 or v2 test proceses.)