aboutsummaryrefslogtreecommitdiffstats
path: root/bin/test.ps1
diff options
context:
space:
mode:
authorMatthew Strapp <matt@mattstrapp.net>2024-10-28 13:37:20 -0500
committerGitHub <noreply@github.com>2024-10-28 13:37:20 -0500
commit7f1529eb1c6be69318f95f2ce90b09bcf0eec232 (patch)
tree72b1a2adb1ac248f6dda903b89e6c77ee84531a0 /bin/test.ps1
downloadscoop-7f1529eb1c6be69318f95f2ce90b09bcf0eec232.tar
scoop-7f1529eb1c6be69318f95f2ce90b09bcf0eec232.tar.gz
scoop-7f1529eb1c6be69318f95f2ce90b09bcf0eec232.tar.bz2
scoop-7f1529eb1c6be69318f95f2ce90b09bcf0eec232.tar.lz
scoop-7f1529eb1c6be69318f95f2ce90b09bcf0eec232.tar.xz
scoop-7f1529eb1c6be69318f95f2ce90b09bcf0eec232.tar.zst
scoop-7f1529eb1c6be69318f95f2ce90b09bcf0eec232.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--bin/test.ps115
1 files changed, 15 insertions, 0 deletions
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