File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
PSModuleDevelopment/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ 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
33
+ $results = Invoke-Pester - Script $file.FullName - Show $Show - PassThru - OutputFile " TEST- $ ( $file .BaseName ) .xml " - OutputFormat NUnitXml
34
34
foreach ($result in $results )
35
35
{
36
36
$totalRun += $result.TotalCount
@@ -82,4 +82,4 @@ else { Write-PSFMessage -Level Critical -Message "<c='em'>$totalFailed tests</c>
82
82
if ($totalFailed -gt 0 )
83
83
{
84
84
throw " $totalFailed / $totalRun tests failed!"
85
- }
85
+ }
You can’t perform that action at this time.
0 commit comments