Pester on PSCore limitations
Since version 4.1.0 Pester is compatible with PowerShell Core 6 and later 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 and later. Also your test need to be aligned - please check the reference Development rules - technical to read more.