Open
Description
The Pester configuration option Output.Verbosity
is hard-coded to Detailed
which can make it difficult to identify which test failed in the case where you have hundreds or thousands of tests (especially when running automatically generated documentation tests).
In some cases you might also want to stop running tests as soon as you hit the first failed test rather than wait for all tests to complete. Pester has the Run.SkipRemainingOnFailure
option that can be set to Run
if all remaining tests from all containers in the run should be skipped, or Container
or Block
for a more narrow scope.
I'd like to be able to configure these options like so...
Properties {
$PSBPreference.Test.SkipRemainingOnFailure = 'Run'
$PSBPreference.Test.OutputVerbosity = 'Normal'
}
I'll submit a PR for review shortly.