Super handy intro to Pester.
This blog post is meant as a quick introduction to what I think are the key take-aways of Pester and how I use it.
So why on earth should you test your PowerShell scripts, are they not meant to be ad-hoc?
I do believe, much like in any other language, that sometimes you don’t have the need to test your code (say what!?). Sometimes it definitely a place for ad-hoc code that just just executes once or twice just to accomplish something for the time being.
However when you’re constructing something that will survive over time and that others may use and improve, testing…
View original post 1,662 more words