Class InProcessTestProcessLauncher
Implementation of ITestProcessLauncher that will launch an xUnit.net v3 test in-process.
public sealed class InProcessTestProcessLauncher : ITestProcessLauncher
- Inheritance
-
InProcessTestProcessLauncher
- Implements
- Inherited Members
Remarks
Note that this will require the runner author to implement dependency resolution, as no attempt to do so is done here.
Properties
Instance
Gets the singleton instance of InProcessTestProcessLauncher.
public static InProcessTestProcessLauncher Instance { get; }
Property Value
Methods
Launch(XunitProjectAssembly, IReadOnlyList<string>)
Launches the test process. Returns null if the process could not be launched.
public ITestProcess? Launch(XunitProjectAssembly projectAssembly, IReadOnlyList<string> arguments)
Parameters
projectAssemblyXunitProjectAssemblyThe test project assembly
argumentsIReadOnlyList<string>The list of arguments to be passed to the in-process runner