Skip to content

Tag: biz.dfch.PS.Pester.Assertions

PowerShell 0

Improving Pester and Exception Assertion

Today’s post will cover the Pester testing framework. If you ever have used Pester for more the sunshine scenarios you will have noticed that the assertion of exceptions is a little bit, hmm, awkward. Pester provides an integrated Throw operator that will parse the exception message. This has some limitations such as when running in non-english environments the message may […]