We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0953fce commit d8320d2Copy full SHA for d8320d2
1 file changed
tools/TestModule.ps1
@@ -36,4 +36,4 @@ $PesterConfiguration.TestResult.Enabled = $true
36
$PesterConfiguration.TestResult.OutputPath = (Join-Path $ModuleTestsPath "$moduleName-TestResults.xml")
37
38
$TestResults = Invoke-Pester -Configuration $PesterConfiguration
39
-If ($TestResults.FailedCount -gt 0) { Write-Error "$($TestResults.FailedCount) tests failed." }
+If (($TestResults.FailedCount + $TestResults.FailedBlocksCount + $TestResults.FailedContainersCount) -gt 0) { Write-Error "$($TestResults.FailedCount) tests failed." }
0 commit comments