The Pester Book
This book is 30% complete
Last updated on 2017-01-16
About the Book
"Pester is an important skill that every PowerShell user should master."
- Jeffrey Snover, Creator of PowerShell
Pester is a unit-testing framework for PowerShell, and perhaps the first open-source software product that ships with Windows itself! Authors and MVPs Don Jones and Adam Bertram walk you through the Pester philosophy, syntax, and numerous real-world examples in this "Agile-published" book.
Part 1, which is complete as a v1 release, covers the core syntax of Pester, and introduces you to various possible use cases for the different syntax elements. It's enough to get you up and running if you're familiar with unit testing, or if you want to give Pester a spin.
Part 2 will take that syntax and dig into the world of unit testing and Test-Driven Development, through a series of real-world walkthroughs. Some of these will be "stream of consciousness," following the actual process someone might use to add or develop Pester tests. This Part will also cover using Pester for infrastructure validation in an "infrastructure from code" environment.
Part 3 will tackle cover coverage, an important topic to help make sure you're testing all of your code.
Part 4 will be more of a "cookbook," with recipes for testing specific types of situations. This will probably be one area of the book that we continually build over time, based in large part on reader feedback.
Chapters in these Parts will be released as we write them, so you won't need to wait for an entire Part to be completed. And, we'll continue to expand and revise released chapters based on reader feedback - which is very welcome! Readers who purchase the book are notified of how to contact the authors directly, and you can also reach us on Twitter @concentratedDon and @adbertram.
See the Contents
Use the "Table of Contents" link to see the complete table of contents for the full book. This does change and evolve as we work on the book.
We Publish as We Go
This is an Agile-published book, which means the authors are releasing it as they write it, and will continue to update the book as the underlying technology evolves over time. This is the last book you'll ever need to buy on this topic, because your one-time purchase grants you lifetime access to updates and new content. We'll even email you via LeanPub (if you opt-in) when there's fresh content for you.
About Our Pricing
The price for this book might seem high - our target "final price" is around $60. But that's because it's the last you'll ever have to buy. We won't be after you for a "second edition" in a couple of years, because you'll get each new update and release for free. So the higher price? This reflects that fact that you're paying up-front for what amounts to a lifetime subscription - we'll never come after you for more money for some future edition, reprinting, or update.
Check Out the Free Sample
The free sample includes sample chapters, but why bother? LeanPub has a no-questions-asked refund policy, so it's completely risk-free to grab the "real" book and see what you think.
What Formats are Available?
All LeanPub books are offered in PDF, MOBI, and EPUB, and you get all three with your purchase. Note that the PDF is probably the "highest fidelity" version, especially in terms of code listings.
How Can I Contact the Authors?
We love feedback. Use the "Email the Authors" link, just below, to contact us. For feedback on the book, please provide a chapter, heading, and short snippet of text to let us know where you're looking - page numbers don't do any good, as they don't correspond with our source files.
A Note on Other Booksellers
Note that "Numbered Editions" of this book may also be available on Amazon or through other booksellers (e.g., "First Edition," "Second Edition," etc.) These are "snapshots" of the LeanPub version from a particular project milestone. Purchases made elsewhere are a one-time purchase, and do not include ongoing updates to the content. If you purchased the book elsewhere, we regrettably cannot somehow give you access to the LeanPub version, nor will you receive future updates at no charge.
The Leanpub Unconditional, No Risk, 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms