The Scripting Guy blog has been running a series on Pester written by Dave Wyatt – the modules author.
Pester provides a way to perform, and automate, testing on your PowerShell code.
The series is:
http://blogs.technet.com/b/heyscriptingguy/archive/2015/12/15/getting-started-with-pester.aspx
http://blogs.technet.com/b/heyscriptingguy/archive/2015/12/18/more-pester-feature-and-resources.aspx
under: PowerShell