Skip to content

5.6.0

Compare
Choose a tag to compare
@nohwnd nohwnd released this 05 Jun 07:37
· 67 commits to main since this release

What's Changed

Inconclusive is back!

  • Set-ItResult: Return distinctive ErrorId depending on switch used by @csandfeld in #2401
  • Handle tests marked as inconclusive by @csandfeld in #2405
  • Add missing help for -Skip in Context and Describe by @fflaten in #2426

Should -HaveParameter regression is fixed.

  • Fix Should -HaveParamter -DefaultValue by @nohwnd in #2398

And more:

  • fixed typo in property params in TestReults.ps1 by @stan-alam in #2397
  • Update code-analysis workflow to node20 actions by @fflaten in #2429
  • Update PesterTests and devcontainer to .NET 8 by @fflaten in #2430
  • Update coverage publish task by @nohwnd in #2433
  • Fix docs for FileContentMatchMultiline* operators by @fflaten in #2377
  • Extract common helper-functions in P-tests by @fflaten in #2378
  • Feature Request: ShouldResult property by @JustinGrote in #2381
  • Replace Id with GroupId in Block and Test objects by @fflaten in #2364
  • Standardize container name and type validation by @fflaten in #2379
  • Fix WildcardPatternException when using dt in P by @fflaten in #2443
  • Fix possible NRE in NUnit3 export by @fflaten in #2444
  • Skip blocks without runnable tests by @fflaten in #2447
  • Ignore excluded/skipped tests and unnecessary setup/teardown using SkipRemainingOnFailure by @fflaten in #2442
  • Add null check for $host.UI and its properties to avoid race condition (#2383) by @kborowinski in #2472
  • Fix NRE in mock debug log for native commands by @fflaten in #2481
  • Replace deprecated macOS 11 image with 13 in CI by @fflaten in #2483

New Contributors

And also a big thank you to @fflaten!

Contrary to my tweet, we won't remove support for 3, 4, and 6.2 in Pester 5, the PR was added and then reverted. Will keep that change for Pester 6.

  • Drop support of PowerShell 3, 4, 6.2, and unsupported 7 by @nohwnd in #2432
  • Revert dropping support of Powershell 3 and friends by @nohwnd in #2435

Error on update:

My certificate was renewed, and you will get error on update, because the Issuer changed. And there is no way to get valid certificate from the previous issuer. It is still signed by me, but don't take my word for it, go check the certificate.

Full Changelog: 5.5.0...5.6.0