The AssertExceptionThrown module exports a single function, Assert-ExceptionThrown. This can be used in place of the built-in Pester Should -Throw command, to test whether a function or command throws ...
Pester 3.0 has been released! To see a list of changes in this version, refer to the What's New in Pester 3.0? Wiki page. Pester provides a framework for running unit tests to execute and validate ...
While we covered testing a single script in Pester, here's how to take that knowledge to the next level. As you progress in writing more advanced PowerShell scripts, you'll soon come to a point to ...
When you write a PowerShell script how do you truly know it worked? Do you define it to be successful when it doesn't throw an error? If so, what about those times when you might have accidentally ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results