blob: 5c64841c5f755c9abdd29f2144eede3c6d39c0ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#Requires -Version 5.1
#Requires -Modules @{ ModuleName = 'BuildHelpers'; ModuleVersion = '2.0.1' }
#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '5.2.0' }
$pesterConfig = New-PesterConfiguration -Hashtable @{
Run = @{
Path = "$PSScriptRoot/.."
PassThru = $true
}
Output = @{
Verbosity = 'Detailed'
}
}
$result = Invoke-Pester -Configuration $pesterConfig
exit $result.FailedCount
|