You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/csharp/Pester/RunConfiguration.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ public RunConfiguration() : base("Run configuration.")
63
63
ScriptBlock=newScriptBlockArrayOption("ScriptBlocks containing tests to be executed.",newScriptBlock[0]);
64
64
Container=newContainerInfoArrayOption("ContainerInfo objects containing tests to be executed.",newContainerInfo[0]);
65
65
TestExtension=newStringOption("Filter used to identify test files.",".Tests.ps1");
66
-
Exit=newBoolOption("Exit with non-zero exit code when the test run fails. When used together with Throw, throwing an exception is preferred.",false);
66
+
Exit=newBoolOption("Exit with non-zero exit code when the test run fails. Exit code is always set to `$LASTEXITCODE` even when this option is `$false`. When used together with Throw, throwing an exception is preferred.",false);
67
67
Throw=newBoolOption("Throw an exception when test run fails. When used together with Exit, throwing an exception is preferred.",false);
68
68
PassThru=newBoolOption("Return result object to the pipeline after finishing the test run.",false);
69
69
SkipRun=newBoolOption("Runs the discovery phase but skips run. Use it with PassThru to get object populated with all tests.",false);
0 commit comments