Skip to content

Pester on PSCore limitations

Jakub Jareš edited this page Nov 15, 2017 · 8 revisions

Since version 4.1.0 Pester is compatible with PowerShell Core 6.x with some limitations listed below

  • Some tests might take very long time on macOS - GH-827
  • 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 the file Functions/Assertions/Be.Tests.ps1) in Pester 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 Developement rules - technical to read more.

Clone this wiki locally