Audience
Developers and professionals searching for a testing and mocking framework solution for PowerShell
About Pester
Pester is the ubiquitous test and mock framework for PowerShell. Adding Pester tests to Powershell code will enhance code quality and allows you to start creating predictable changes. Visual Studio Code comes with full support for Pester allowing you to create tests quickly. Pester integrates nicely with TFS, Azure, Github, Jenkins, and other CI servers, allowing you to fully automate your development lifecycle. Pester provides a framework for writing and running tests. Pester is most commonly used for writing unit and integration tests, but it is not limited to just that. It is also a base for tools that validate whole environments, computer deployments, database configurations, and so on. Pester tests can execute any command or script that is accessible to a Pester test file. This includes functions, Cmdlets, Modules, and scripts. Pester can be run locally, where it integrates well with Visual Studio Code, and it can of course be integrated into a build script in a CI pipeline.