IT Praktyk Blog

Pester related links

Posted May 29, 2016; Last update October 18, 2016

Introduction

This post contains the list of articles, videos, projects related to Pester.

If you would like add something interesting please let me know. Thank you in advance!

Pester related links

Articles

Pester general - code: A

No. Title Author Date Url
4 Pester repository on GitHub   2011-01-02 https://github.com/pester
13 Configure and test windows infrastructure using Powershell technologies DSC and Pester running from Chef and Test-Kitchen Matt Wrock 2014-10-13 http://www.hurryupandwait.io/blog/configure-and-test-windows-infrastructure-using-powershell-technologies-dsc-and-pester-running-from-chef-and-test-kitchen
6 Practical PowerShell Unit-Testing: Getting Started Michael Sorens 2014-11-03 https://www.simple-talk.com/sysadmin/powershell/practical-powershell-unit-testing-getting-started
7 Practical PowerShell Unit-Testing: Mock Objects Michael Sorens 2014-11-04 https://www.simple-talk.com/sysadmin/powershell/practical-powershell-unit-testing-mock-objects/
8 Practical PowerShell Unit-Testing: Checking program flow Michael Sorens 2014-11-05 https://www.simple-talk.com/sysadmin/powershell/practical-powershell-unit-testing-checking-program-flow
23 Create your first Pester script to test a DSC resource Fabien Dibot 2014-11-30 https://pwrshell.net/create-your-first-pester-script-to-test-a-dsc-resource/
24 Build your Azure lab with DSC and validate it using Pester – 1/3 Fabien Dibot 2014-12-27 https://pwrshell.net/build-your-azure-lab-with-dsc-and-validate-it-using-pester-13/
25 Build your Azure lab with DSC and validate it using Pester – 2/3 Fabien Dibot 2015-01-04 https://pwrshell.net/build-your-azure-lab-with-dsc-and-validate-it-using-pester-23/
3 Comparing Objects using JSON in PowerShell for Pester Tests Daniel Scott-Raynsford 2015-08-23 https://dscottraynsford.wordpress.com/2015/08/23/comparing-objects-using-json-in-powershell-for-pester-tests
1 Testing Script Modules with Pester - series Dave Wyatt 2015-12-14 https://blogs.technet.microsoft.com/heyscriptingguy/2015/12/14/what-is-pester-and-why-should-i-care
2 Download Free Pester Cheat Sheet Kaj Bonfils 2016-05-18 https://kajbonfils.com/2016/05/download-free-pester-cheat-sheet
14 Mocking SQL Results in Pester Nick Hudacin 2016-04-28 https://nickhudacin.wordpress.com/2016/04/28/mocking-sql-results-in-pester
16 PowerShell Pester assertions – Testing with the should command Adam Bertram 2016-05-24 https://4sysops.com/archives/powershell-pester-assertions-testing-with-the-should-command
28 PowerShell – Pester and Invoke-ScriptAnalyzer Ben Taylor 2016-05-27 http://bentaylor.work/2016/05/powershell-pester-and-invoke-scriptanalyzer/
5 Writing #Pester based Unit Tests for #PowerShell Remoting Nicholas Dille 2016-05-30 http://dille.name/blog/2016/05/30/writing-pester-based-unit-tests-for-powershell-remoting
6 Help = Spec = Test James O’Neill 2016-05-31 https://jamesone111.wordpress.com/2016/05/31/help-spec-test
9 A different pitch for Pester James O’Neill 2016-06-01 https://jamesone111.wordpress.com/2016/06/01/a-different-pitch-for-pester/
10 Active Directory ReportUnit Pester results Irwin Strachan 2016-06-10 https://pshirwin.wordpress.com/2016/06/10/active-directory-reportunit-pester-results/
11 Testing Active Directory with Pester and Powershell Mark Wragg 2016-06-13 http://wragg.io/testing-active-directory-with-pester-and-powershell
12 How to Run a Pester Test Jun Blender 2016-06-13 https://www.sapien.com/blog/2016/06/13/how-to-run-a-pester-test/
17 Invoke-Pester: Running Selected Tests June Blender 2016-06-15 https://www.sapien.com/blog/2016/06/15/invoke-pester-run-selected-tests](https://www.sapien.com/blog/2016/06/15/invoke-pester-run-selected-tests)
15 How to Pass Parameters to a Pester Test Script June Blender 2016-06-17 https://www.sapien.com/blog/2016/06/17/how-to-pass-parameters-to-a-pester-test-script/
18 Testing Pester Code Coverage June Blender 2016-06-24 https://www.sapien.com/blog/2016/06/24/testing-pester-code-coverage
19 Visualizing Operational Tests with Jenkins and Pester Bill Hurt 2016-06-25 https://scripting.tech/2016/06/25/visualizing-operational-tests-with-jenkins-and-pester
20 Constructing Private Test Credentials for Pester Testing Chris Wahl 2016-04-27 http://wahlnetwork.com/2016/04/27/private-test-credentials-pester-testing/](http://wahlnetwork.com/2016/04/27/private-test-credentials-pester-testing/)
21 Remediating vSphere Configuration Drift with PowerShell Pester Tests Chris Wahl 2016-06-17 http://wahlnetwork.com/2016/06/16/remediating-vsphere-configuration-drift-powershell-pester-tests/
22 The Pester Pipeline Christopher Hunt 2016-06-21 https://www.automatedops.com/blog/2016/06/21/the-pester-pipeline/
27 Using Visual Studio Code to develop VSTS Build Tasks with PowerShell and Pester tests Richard Fennell 2016-06-27 http://blogs.blackmarble.co.uk/blogs/rfennell/post/2016/06/21/Using-Visual-Studio-Code-to-develop-VSTS-Build-Tasks-with-PowerShell-and-Pester-tests
26 Pester, Jenkins, Remote & ExitCode Fabien Dibot 2016-07-02 https://pwrshell.net/pester-jenkins-remote-exitcode/
28 Unit tests versus integration tests in Pester Adam Bertram 2016-07-21 https://4sysops.com/archives/unit-tests-versus-integration-tests-in-pester/#integration-tests
29 Functional / Non-Functional Pester Tests and why I think you really should have a form of both. Ryan Yates 2016-07-21 http://blog.kilasuit.org/2016/07/21/functional-non-functional-pester-tests-and-why-i-think-you-really-should-have-a-form-of-both/

Test your module with Pester - code: B

No. Title Author Date Url
1 Testing Script Modules with Pester Dave Wyatt 2015-12-17 https://blogs.technet.microsoft.com/heyscriptingguy/2015/12/17/testing-script-modules-with-pester
2 An Easier Way to Control Pester Tests Adam Bertram 2016-03-24 http://www.adamtheautomator.com/easier-way-control-pester-tests
3 Invoking PSScriptAnalyzer in Pester Tests for each Rule Ryan Yates 2016-03-29 http://blog.kilasuit.org/2016/03/29/invoking-psscriptanalyzer-in-pester-tests-for-each-rule
5 Building a Simple Release Pipeline in PowerShell Using psake, Pester, and PSDeploy Brandon Olin 2016-04-06 https://devblackops.io/building-a-simple-release-pipeline-in-powershell-using-psake-pester-and-psdeploy
4 Write Dynamic Unit Tests for your PowerShell Code with Pester Mike F Robbins 2016-04-14 http://mikefrobbins.com/2016/04/14/write-dynamic-unit-tests-for-your-powershell-code-with-pester
5 Using Pester to test your Comment Based Help Francois-Xavier Cat 2016-05-10 http://www.lazywinadmin.com/2016/05/using-pester-to-test-your-comment-based.html
6 Using Pester to test your Manifest File Francois-Xavier Cat 2016-05-11 http://www.lazywinadmin.com/2016/05/using-pester-to-test-your-manifest-file.html
11 Generic Pester Tests Nicholas M. Getchell 2016-06-16 https://powershell.getchell.org/2016/05/16/generic-pester-tests/
7 Testing Your Module Manifest With Pester - Revisited Matt McNabb 2016-05-18 http://mattmcnabb.github.io/Pester-For-PowerShell-Gallery
8 How To Test PowerShell Modules with Pester Adam Bertram 2016-05-19 https://mcpmag.com/articles/2016/05/19/test-powershell-modules-with-pester.aspx
9 Creating a set of simple Pester Tests for existing or old PowerShell Modules & making them easier to update in future. Ryan Yates 2016-05-24 http://blog.kilasuit.org/2016/05/24/creating-a-set-of-simple-pester-tests-for-existing-or-old-powershell-modules-making-them-easier-to-update-in-future
10 A Boilerplate for Unit testing DSC resources with Pester Mathieu Buisson 2016-07-12 http://theshellnut.com/unit-testing-dsc-resources/

Videos - code: V

No. Title Author Date Url
2 Pester in Action - series Kevin Marquett 2015-11-11 https://www.youtube.com/playlist?list=PLOcTmsj9WHDo2_FfKePLaq_mJTcnW_fEJ
3 Automate your PowerShell tests with Appveyor, Git and Pester! Flynn Bundy 2016-04-03 https://flynnbundy.com/2016/04/03/automate-your-powershell-tests-with-appveyor-git-and-pester
1 Test-Driven Development with Pester June Blender 2016-05-21 https://www.youtube.com/watch?v=gssAtCeMOoo
4 Testing PowerShell with Pester Robert Cain 2016-06-18 https://www.pluralsight.com/courses/powershell-testing-pester
5 Pester the Tester PowerShell Bugs Beware Robert Cain 2016-06-14 https://www.youtube.com/watch?v=o4ihc7atwYQ

Projects - code: P

No. Name Author Date Url
3 Remotely Microsoft 2015-05-08 https://github.com/rchaganti/Remotely
1 PesterHelpers Ryan Yates 2016-05-19 https://github.com/PowerShellModules/PesterHelpers
4 PoshSpec Chris Hunt 2016-05-12 https://github.com/Ticketmaster/poshspec
2 Pester-ExchangeServer Wojciech Sciesinski 2016-05-11 https://github.com/it-praktyk/Pester-ExchangeServer
5 PesterOperationTest Tore Groneng 2016-04-23 https://github.com/torgro/PesterOperationTest
6 PowerShell Pester Dashboard Kickstarter Josh Castillo 2016-05-02 https://github.com/doesitscript/PSPesterDashboardKickstarter/tree/develop
7 Format-Pester Erwan Quelin 2016-06-17 https://github.com/equelin/Format-Pester
9 PesterMatchArray Stuart Leeks 2015-11-25 https://github.com/stuartleeks/PesterMatchArray
8 PesterMatchHashtable Stuart Leeks 2016-07-11 https://github.com/stuartleeks/PesterMatchHashtable
10 Watchmen Brandon Olin 2016-06-08 https://github.com/devblackops/watchmen
11 Vester Chris Wahl 2015-03-25 https://github.com/WahlNetwork/Vester

Remarks

The list will be sorted by the publication dates, the sections codes (e.g. V for Videos) and numbers will be used to identify articles in the Updates section.

Waiting to be re-read and added

Updates