Version: v5
Pester on PSCore limitations
Since version 4.1.0 Pester is compatible with PowerShell Core 6.x with some limitations listed below
- Pester unit tests for test a code coverage of DSC resources can't be executed
- DSC is not supported on MacOSX
- support on Linux requires additional software to be installed. Please read also DSC Future Direction Update on the PowerShell Team Blog
- An error
call depth overflow
on macOS (please check) - the one failing test in Pester Functions/Assertions/Be.Tests.ps1 is disabled due that bug
Please remember that not only Pester need to be aligned to work on PowerShell Core 6.x. Also your test need to be aligned - please check the reference Development rules - technical to read more.