Method StartTestProcess
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.runner.utility.netfx.dll
StartTestProcess(string, string, string?)
Starts the test process.
protected override sealed ITestProcess? StartTestProcess(string executable, string executableArguments, string? responseFile)
Parameters
executable
stringThe 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)
executableArguments
stringThe arguments to pass to the executable
responseFile
stringThe 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.