File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
PSModuleDevelopment/tests Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,6 @@ PSModuleDevelopment/PSModuleDevelopment.psproj.bak
22
22
PSModuleDevelopment /PSModuleDevelopment.psprojs
23
23
PSModuleDevelopment /PSModuleDevelopment.psproj
24
24
sh.exe.stackdump
25
+
26
+ # ignore the TestResults
27
+ TestResults /*
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ if ($Run -match "Everything|General")
30
30
foreach ($file in (Get-ChildItem " $PSScriptRoot \general" - Filter $Filter ))
31
31
{
32
32
Write-PSFMessage - Level Significant - Message " Executing <c='em'>$ ( $file.Name ) </c>"
33
- $results = Invoke-Pester - Script $file.FullName - Show $Show - PassThru - OutputFile " TEST-$ ( $file.BaseName ) .xml" - OutputFormat NUnitXml
33
+ $TestOuputFile = Join-Path " $PSScriptRoot \..\..\TestResults" " TEST-$ ( $file.BaseName ) .xml"
34
+ $results = Invoke-Pester - Script $file.FullName - Show $Show - PassThru - OutputFile $TestOuputFile - OutputFormat NUnitXml
34
35
foreach ($result in $results )
35
36
{
36
37
$totalRun += $result.TotalCount
You can’t perform that action at this time.
0 commit comments