Summary
Ensures that the tool process exits with the given exit code.
Syntax
public static void GivenProcessExitsWithCode<TToolSettings, TFixtureResult>(this ToolFixture<TToolSettings, TFixtureResult> fixture, int exitCode)
where TToolSettings : ToolSettings, new() where TFixtureResult : ToolFixtureResult
Type Parameters
Name |
Description |
TToolSettings |
The type of the tool settings. |
TFixtureResult |
The type of the fixture result. |
Parameters
Name |
Type |
Description |
fixture |
ToolFixture<TToolSettings, TFixtureResult> |
The fixture. |
exitCode |
int |
The exit code. |
Return Value