scottmuc/Pester — Issue #18: Using Invoke-Pester closes command line window
Author: Clay-Ratliff
Created: 2012-02-16 17:13:40+00:00
State: open

If you open a PS command-line, import Pester and invoke it on a set of valid tests, it will run the tests to correctly but close the window when the run is done. This behavior can be by commenting out the exit $failedTestCount line in the Exit-WithCode function of TestResults.