Skip to content

Commit

Permalink
Add docs for running powershell tests on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
selzoc committed Feb 8, 2024
1 parent 202056e commit ce2a9ef
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,16 @@ cd "stembuild\module\BOSH.<module>"
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.<module>
Invoke-Pester
```

0 comments on commit ce2a9ef

Please sign in to comment.