Fix #2649: Catch ToString() exceptions in NUnit3 output #2697
+52
−1
Azure Pipelines / Pester PR
failed
Apr 3, 2026 in 9m 48s
Build #20260403.22 had test failures
Details
- Failed: 1 (0.01%)
- Passed: 17,167 (98.21%)
- Other: 312 (1.78%)
- Total: 17,480
- 6335 of 7228 line covered (87.65%)
Annotations
Check failure on line 3252 in Build log
azure-pipelines / Pester PR
Build log #L3252
[-] <ScriptBlock> failed with:
Check failure on line 3942 in Build log
azure-pipelines / Pester PR
Build log #L3942
[-] Should-BeFasterThan.Has Because parameter 3ms (2ms|1ms)
Check failure on line 3971 in Build log
azure-pipelines / Pester PR
Build log #L3971
PowerShell exited with code '1'.
Check failure on line 3211 in Build log
azure-pipelines / Pester PR
Build log #L3211
[-] <ScriptBlock> failed with:
azure-pipelines / Pester PR
Should-BeFasterThan.Has Because parameter("1ms","I said so", Start-Sleep -Milliseconds 10 )
Exception: Expected the script block { $Actual | Should-BeFasterThan -Expected $Expected -Because $Because } to fail in Pester assertion, but no assertion failure error was thrown!
Raw output
at Verify-AssertionFailed, D:\a\1\s\tst\axiom\Verify-AssertionFailed.ps1:26
at <ScriptBlock>, D:\a\1\s\tst\functions\assert\Time\Should-BeFasterThan.Tests.ps1:54
Loading