Introduction to Pester ~ Rob Sewell


Details
Duration: 60 minutes
Level: Beginner
Pester is the Testing framework for PowerShell code. Think tSQLt for PowerShell.
In this beginner friendly follow-along, you will learn how to write Pester tests from scratch.
We will start from existing code that has no tests. And we will end with code that is fully covered with tests, (and built in CI/CD pipeline if we have time.)
You will see the basic shapes of functions, and understand how to write tests for them.
You will examine how to write unit and integration tests.
And you will ensure that your code coverage does not drop under 75%.
This practical lesson will arm you with knowledge that is easy to translate to real-life, and that will help you ship better and more reliable code.
All of the code will be made available and you will also be able to follow along
No prior Pester experience required - just bring your curiosity and willingness to learn!

Introduction to Pester ~ Rob Sewell