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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
#133 Test-PSBuildPester now fails the build when a Pester run fails for any
reason, not only when individual tests fail. Previously the function gated
only on FailedCount, so a BeforeAll/AfterAll that threw or a test file
that errored during discovery left the count at zero and the build passed
despite tests never running. The gate now checks the run's aggregate Result property, which Pester derives from all failure categories.
Companion to #128,
which fixes the same gap in this repository's own build file.