This recent change was kicked off by one of our customers, who wanted to see ‘Write-verbose’ messages when debugging or testing, but not in production. We assumed that the same is probably true for ‘Write-Debug’ messages. It makes perfect sense…
Read More
SAPIEN’s PowerShell Studio and PrimalScript products both include integrated Pester testing. In this article, we will cover some changes in the Pester 4 to Pester 5 upgrade.
The most significant change in the release of Pester 5 is that it…
Read More
The v5.6.164 service build introduces Pester integration into PowerShell Studio. For those who are not familiar with the Pester module, it is a testing framework for PowerShell. The module allows you to run unit tests on your scripts and functions.…
Read More
Applies to: PowerShell 5.0.10586.122, 5.1.14367, Pester 3.4.0
I’m one of those people who thinks a score of 99% is failing, so I love to see those 100% scores when I use the CodeCoverage parameter of Invoke-Pester.
But, while assembling my…
Read More
Applies to Pester 3.4.0
Like any Windows PowerShell script, a script that contains Pester tests can include parameters. It’s easy enough to run the script and pass parameters and values in the usual way.
But, when you use Invoke-Pester to…
Read More
Applies to: Pester 3.4.0
When you crack open the Pester module, you find the New-Fixture function, which creates a script and test file pair, and the Invoke-Pester function, which runs Pester tests.
But New-Fixture is not the only way to…
Read More
SAPIEN is about to begin the beta test phase for new versions of of its products. We are looking for SERIOUS testers who can commit to really working the products to their max and taking the time to report and…
Read More