Pester is a unit-testing framework for PowerShell, and perhaps the first open-source software product that ships with Windows itself In this book, Adam Bertram will walk you through the Pester philosophy, syntax, and numerous real-world examples.
In Part I, you will learn essential Pester concepts, like Tests, Mocks and Assersation as well as fundament Pester constructions, like Describe blocks and It blocks. The following parts will walk you through real-world unit testing examples, from which you'll learn to design and run tests accurately and efficiently. The book culminates in a cookbook, full of practical recipes for anyone working with professional-level PowerShell scripts.