From ce2a9ef62012a6fbff6fc55fff526ff0b65b7ca0 Mon Sep 17 00:00:00 2001 From: Chris Selzo Date: Thu, 8 Feb 2024 15:44:24 -0800 Subject: [PATCH] Add docs for running powershell tests on mac --- modules/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/README.md b/modules/README.md index 357ac2ee..6222f765 100644 --- a/modules/README.md +++ b/modules/README.md @@ -28,3 +28,16 @@ cd "stembuild\module\BOSH." Invoke-Pester ``` +## Running a subset of tests on MacOS + +You can use Powershell and MacOS to run the tests that do not require Windows system calls: + +``` +cd ~/workspace +brew install powershell +git clone --depth 1 --branch 4.4.0 git@github.com:pester/Pester.git +pwsh +Import-Module ./Pester/Pester.psm1 +cd stembuild/module/BOSH. +Invoke-Pester +``` \ No newline at end of file