Class LocalOutOfProcessTestProcessLauncher
Implementation of ITestProcessLauncher that will launch an xUnit.net v3 test project out-of-process on the local machine.
public sealed class LocalOutOfProcessTestProcessLauncher : OutOfProcessTestProcessLauncherBase, ITestProcessLauncher
- Inheritance
-
LocalOutOfProcessTestProcessLauncher
- Implements
- Inherited Members
Properties
Instance
Gets the singleton instance of LocalOutOfProcessTestProcessLauncher.
public static LocalOutOfProcessTestProcessLauncher Instance { get; }
Property Value
Methods
StartTestProcess(string, string, string?)
Starts the test process.
protected override sealed ITestProcess? StartTestProcess(string executable, string executableArguments, string? responseFile)
Parameters
executablestringThe executable to be launched (note that this may not be a fully qualified path name, as it may be depending on the system path to locate the executable)
executableArgumentsstringThe arguments to pass to the executable
responseFilestringThe response file that's being used, if present
Returns
Remarks
The response file will be part of the executableArguments, but the actual path to
the response file is provided here in the even that it needs to be modified or copied elsewhere (at
which point the developer is responsible for updating executableArguments to point
to the new response file location). Additionally, the developer is responsible for deleting the
response file from the disk when the execution is complete.