About the Book
"Pester is an important skill that every PowerShell user should master."
- Jeffrey Snover, Creator of PowerShell
You can purchase a print edition of this book on Amazon (https://www.amazon.com/Pester-Book-First-Don-Jones/dp/1543245919/). Note that the print edition is a point-in-time snapshot of the manuscript, and is not eligible for ongoing updates.
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.
About the Authors
Don Jones has been in the IT industry since the mid 1990s, and has been a recipient of Microsoft's "Most Valuable Professional" Award since 2003. He's a co-founder of PowerShell.org and The DevOps Collective, and a Curriculum Director for online video training company Pluralsight. Don authored some of the first books ever published for Windows PowerShell, and is the co-author of Learn Windows PowerShell in a Month of Lunches, the bestselling entry-level book for PowerShell. Don's a sought-after speaker at technology conferences like Microsoft Ignite, TechMentor, and many more. You can find him on Twitter @concentratedDon, or on his website, DonJones.com.
Adam Bertram is an Senior Automation Engineer, technical writer, trainer, and presenter. Adam specializes in consulting and evangelizing all things IT automation. Adam is a Microsoft Windows Cloud and Datacenter Management MVP focused on the PowerShell language and various DevOps tooling in the Microsoft ecosystem. He authors IT pro course content for Pluralsight, is a regular contributor to numerous print and online publications and presents at various user groups and conferences.