We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1441c1 commit 034aaadCopy full SHA for 034aaad
PSModuleDevelopment/tests/pester.ps1
@@ -11,14 +11,17 @@
11
$Filter = "*.Tests.ps1"
12
)
13
14
-Write-Host "Starting Tests" -ForegroundColor Green
+Write-PSFMessage -Level Host -Message "Starting Tests"
15
16
-Write-Host "Importing Module" -ForegroundColor Cyan
+Write-PSFMessage -Level Host -Message "Importing Module"
17
18
Remove-Module PSModuleDevelopment -ErrorAction Ignore
19
Import-Module "$PSScriptRoot\..\PSModuleDevelopment.psd1"
20
Import-Module "$PSScriptRoot\..\PSModuleDevelopment.psm1" -Force
21
22
+Write-PSFMessage -Level Host -Message "Creating test result folder"
23
+$null = New-Item -Path "$PSScriptRoot\..\.." -Name TestResults -ItemType Directory -Force
24
+
25
$totalFailed = 0
26
$totalRun = 0
27
0 commit comments