Simple play icon Course
Skills

Testing Windows PowerShell with Pester

by Robert Cain

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.

What you'll learn

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 Windows 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. First, you'll start with seeing how to use Pester to test an existing code base. Then, 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. At the end of this course, you'll have the confidence to test and use your own PowerShell scripts in your own projects.

Table of contents

About the author

Robert C. Cain (http://arcanecode.com) is a Microsoft MVP, MCTS Certified in BI, and is the owner of Arcane Training and Consulting, LLC. He is a course author for Pluralsight, team member at Linchpin People, and co-author of 4 books. A popular speaker, Robert has presented at events such as the SQL PASS Summit, TechEd, CodeStock, and numerous SQL Saturdays. Robert has over 25 years' experience in the IT industry, working in a variety of fields including manufacturing, insurance, teleco... more

Ready to upskill? Get started