From 7f1529eb1c6be69318f95f2ce90b09bcf0eec232 Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Mon, 28 Oct 2024 13:37:20 -0500 Subject: Initial commit --- bin/test.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bin/test.ps1 (limited to 'bin/test.ps1') diff --git a/bin/test.ps1 b/bin/test.ps1 new file mode 100644 index 0000000..5c64841 --- /dev/null +++ b/bin/test.ps1 @@ -0,0 +1,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 -- cgit v1.2.3