April 2024
Beginner to intermediate
336 pages
8h 51m
English
Pester is a powerful tool for automating your testing in PowerShell scripts. As we transition into a DevOps-oriented world, it becomes crucial to ensure the reliability of your scripts. No one wants a broken script running in a production environment. Even if you test your script initially, modifications or unique conditions might arise that require retesting. This chapter will delve into automated unit testing for PowerShell scripts using Pester.
Here’s where we want to get you:
You write some code or modify some old code.
You check your code into a source control repository.
The repository triggers a continuous integration pipeline. Usually incorporating third-party tools, the pipeline builds a ...