Fix Test Publishing

This commit is contained in:
Wes Carroll
2019-03-28 10:32:23 -04:00
parent 5a10669403
commit 3e9f450208
2 changed files with 14 additions and 13 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ task Analyze CheckPSScriptAnalyzerInstalled, CheckPesterInstalled, CheckPlatyPSI
}
task FileTests CheckPesterInstalled, {
Invoke-Pester "$BuildRoot\Tests\Public\ZertoApiWrapper.Tests.ps1" -Show Fails
$testResultsFile = "$BuildRoot\Tests\Public\TestResults.xml"
Invoke-Pester -Script "$BuildRoot\Tests\Public\ZertoApiWrapper.Tests.ps1" -OutputFile $testResultsFile -PassThru
}
$buildMamlParams = @{