Introduction to Pester – Part 1
17 min read
By: Vignesh Mudliar Nov 4, 2020 11:00:09 AM
Code review and software unit tests are not the most popular tasks in code development and PowerShell DevOps are not spared. Still, when you’re writing a function or a script to perform a specific task, it’s essential to know whether your script does what it’s supposed to do.
With the Pester framework for PowerShell testing and mocking, this task becomes less time-consuming and annoying. Pester provides a language for writing unit and integration tests for your PowerShell scripts, cmdlets, functions and modules. And as we are used to from PowerShell, these tests can be easily automated.
In this article you will learn how to get started with Pester as well as the basics of using Pester to test your scripts.
About the author:
Vignesh hails from the city of Pune in India. He has been working in cloud for the past 10 years. He works in the areas of Exchange servers, Exchange Online, MS Teams, Office 365 security, PowerShell and reviewing the latest Office 365 features and apps.