We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd0b683 commit 695a82cCopy full SHA for 695a82c
1 file changed
test/run_test.ps1
@@ -8,13 +8,15 @@ if (-not(Test-Path -Path $testPath -PathType Leaf))
8
exit 1;
9
}
10
11
-# using scoop to install pester
12
-mkdir C:\TMP;
13
-powershell.exe -ExecutionPolicy RemoteSigned `Invoke-WebRequest 'https://get.scoop.sh' -outfile C:\TMP\install.ps1;
14
-C:\TMP\install.ps1 -RunAsAdmin;
15
-scoop install pester;
+Install-Module -Force Pester
+If ($? -ne "True" ) { Throw };
16
17
-$config = New-PesterConfiguration;
18
-$config.Run.Path = "$testPath";
+$config=New-PesterConfiguration;
+$config.Run.Exit=$true;
+$config.Run.Path="$testPath";
19
20
-Invoke-Pester -CI -Configuration $config;
21
+Invoke-Pester -Configuration $config;
22
0 commit comments