Adding a code coverage badge to a PowerShell project
This blog post describes how you can add a code coverage badge to the readme.md of your PowerShell projects in Github as well as have them automatically updated with the current coverage percentage via your Continuous Integration pipeline (if you've implemented one). "Code coverage" (or test coverage) is the…
Issue uploading Pester test results in to AppVeyor
While experimenting with AppVeyor to add Continuous Integration to my PowerShell projects (more detailed blog post to follow) I encountered a bug that meant that the Pester test results (uploaded via the NUnit formatted results file) were not appearing in the "Tests" tab of my AppVeyor project. -- Update: The…
Operational Testing for Antivirus: Validating Symantec Endpoint Protection with Pester
This post contains an operational validation test for Symantec Endpoint Protection (SEP) using the Pester testing framework module with Powershell. It performs a few basic checks to ensure SEP is running and healthy. It is intended as a starting point and could be developed further. Your individual requirements will likely…
Testing Active Directory with Pester and Powershell
Irwin Strachan published a Pester script for Operational Testing of Active Directory back in April which I was keen to try out. Afterwards I extended the script to add some additional health checks of Active Directory and this post explains how the resultant combination of our work can be used…