Table of Contents
Pester 5.6 is used for unit tests in this project. Please note that Windows is shipped with much older version of Pester. For installation instructions follow the official guide.
To run the whole test suite (all available tests) with code coverage, use the pester.ps1
script:
pwsh .\pester.ps1
Otherwise, you can run individual tests in terminal by following the instructions in Pester quick start guide.
-
All tests are located in the tests directory or its subdirectories.
-
All test files are following the naming convention
*.Tests.ps1
. -
Coverage report is available at
./coverage/coverage.xml
(when you run the full test suite, of course);