Testing PowerShell with Pester

Testing should be integral to all IT activities. This course will show you how to create tests for your PowerShell scripts and modules using Pester, the new open source testing tool.
Course info
Rating
(30)
Level
Intermediate
Updated
Jun 17, 2016
Duration
4h 11m
Table of contents
Introduction to Unit Testing
Implementing Your First Pester Tests
Basic Function Testing with Pester
Growing Your Pester Skills Advanced Function Testing
Verifying Changes to Existing Scripts with Pester Tests
Creating New Scripts with Test Driven Development, Part 1
Creating New Scripts with Test Driven Development, Part 2
Description
Course info
Rating
(30)
Level
Intermediate
Updated
Jun 17, 2016
Duration
4h 11m
Description

Having a good testing framework will ensure your PowerShell scripts function as designed, and will ensure they continue to work correctly after you make changes. In this course, Testing PowerShell with Pester, you'll learn how to use Pester, the new open source testing tool, to create tests for all of your PowerShell scripts and modules. You'll start with seeing how to use Pester to test an existing code base. After that, Pester will be used to validate change requests to a module. Finally, you'll use Pester along with Test Driven Development to craft a brand new module. After watching this course, you'll have the confidence to test and use your own PowerShell scripts in your own projects.

About the author
About the author

Robert C. Cain (arcanecode.com) is a Microsoft MVP, MCTS Certified in BI, and is the owner of Arcane Training and Consulting, LLC. He is also a course author for Pluralsight, team member at Linchpin People, and co-author of 4 books.

More from the author
Kusto Query Language (KQL) from Scratch
Beginner
4h 33m
20 Jun 2018
Azure PowerShell Playbook: Azure SQL
Intermediate
1h 4m
18 Jan 2018
More courses by Robert Cain