Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue 47: When Pester tests fail, it should fail the build. #48

Merged
merged 2 commits into from
Feb 13, 2020

Commits on Feb 11, 2020

  1. Configuration menu
    Copy the full SHA
    81b0792 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Figured out a better way to correctly indicate failure to the Test

    Kitchen. It wraps this verifier's PowerShell script so that the last
    line is `$host.SetShouldExit($LASTEXITCODE)` comes last. So, I set
    $LASTEXITCODE to the number of test failures, then do my own `exit` with
    that exit code. I want to make sure that no matter how the wrapper
    around our code changes, it should still work.
    
    Also, trying to fix the build.
    splatteredbits committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    35f8e1c View commit details
    Browse the repository at this point in the history