You are here
Testing Your PowerShell Scripts
Steven Murawski, Chef
Shell scripts that run a production environment are just as critical, if not more so, than the software that runs in production. Our responsibility as professionals is to ensure that our scripts work as advertised. In this tutorial, we'll learn how to use Pester, a testing tool for PowerShell, to ensure functionality of our shell scripts.
If you've ever spent far too many hours on the weekend or overnight troubleshooting some PowerShell script that went off the rails, you should attend this tutorial. If you write PowerShell scripts that are intended to run in a production environment, you should attend this tutorial. If you write PowerShell scripts, you should attend this tutorial.
Attendees will take back an understanding of testing terminology and patterns. Attendees will learn how to write PowerShell scripts and functions in a testable manner. They will also have gained a familiarity with Pester, a testing tool for PowerShell.
- Types of testing and testing tools.
- Patterns for writing tests.
- Designing PowerShell scripts and functions to be testable.
- Using Pester, a testing framework for PowerShell.