Migrates to Pester5+ tests #59

Merged
OCram85 merged 47 commits from Pester5 into master 2022-07-14 13:37:13 +02:00
Showing only changes of commit f8cb6f90bb - Show all commits

View File

@ -202,7 +202,6 @@ function Invoke-UnitTest {
$TestResults = Invoke-Pester -Configuration $PesterConf -ErrorAction 'Stop' $TestResults = Invoke-Pester -Configuration $PesterConf -ErrorAction 'Stop'
if ($TestResults.FailedCount -gt 0) { if ($TestResults.FailedCount -gt 0) {
Write-FailureStateFile -StepName 'Pester'
throw ('{0} tests failed!' -f $TestResults.FailedCount) throw ('{0} tests failed!' -f $TestResults.FailedCount)
} }