Skip to content

Commit 107601d

Browse files
authored
check for, install or update of Pester (#187)
* check for, install or update of Pester * Linux doesn't (yet) have Pester installed by default
1 parent 4e5444f commit 107601d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/run-tests.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Already present in Windows install
2+
if (-Not (Get-Module -ListAvailable -Name Pester)) {
3+
Install-Module -Name Pester -Force -SkipPublisherCheck
4+
}
5+
16
$tmpRoot = [System.IO.Path]::GetTempPath()
27
$exercises = Get-ChildItem -Path $PSScriptRoot/../exercises/practice -Directory
38
$failed = 0

0 commit comments

Comments
 (0)