Skip to content

Articles and other resources

Wojciech Sciesinski edited this page Aug 31, 2017 · 28 revisions

List of resources

Articles

Pester general

No. Title Author Date Url
0 Get started with Pester (PowerShell unit testing framework) Jakub Jares 2014-03-12 http://www.powershellmagazine.com/2014/03/12/get-started-with-pester-powershell-unit-testing-framework/
1 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
2 Practical PowerShell Unit-Testing: Getting Started Michael Sorens 2014-11-03 https://www.simple-talk.com/sysadmin/powershell/practical-powershell-unit-testing-getting-started
3 Practical PowerShell Unit-Testing: Mock Objects Michael Sorens 2014-11-04 https://www.simple-talk.com/sysadmin/powershell/practical-powershell-unit-testing-mock-objects/
4 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
5 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/
6 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/
7 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/
8 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
9 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
10 Download Free Pester Cheat Sheet Kaj Bonfils 2016-05-18 https://kajbonfils.com/2016/05/download-free-pester-cheat-sheet
11 Mocking SQL Results in Pester Nick Hudacin 2016-04-28 https://nickhudacin.wordpress.com/2016/04/28/mocking-sql-results-in-pester
12 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
13 PowerShell – Pester and Invoke-ScriptAnalyzer Ben Taylor 2016-05-27 http://bentaylor.work/2016/05/powershell-pester-and-invoke-scriptanalyzer/
14 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
15 Help = Spec = Test James O'Neill 2016-05-31 https://jamesone111.wordpress.com/2016/05/31/help-spec-test
16 A different pitch for Pester James O'Neill 2016-06-01 https://jamesone111.wordpress.com/2016/06/01/a-different-pitch-for-pester/
17 Active Directory ReportUnit Pester results Irwin Strachan 2016-06-10 https://pshirwin.wordpress.com/2016/06/10/active-directory-reportunit-pester-results/
18 Testing Active Directory with Pester and Powershell Mark Wragg 2016-06-13 http://wragg.io/testing-active-directory-with-pester-and-powershell
19 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/
20 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)
21 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/
22 Testing Pester Code Coverage June Blender 2016-06-24 https://www.sapien.com/blog/2016/06/24/testing-pester-code-coverage
23 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
24 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/)
25 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/
26 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
28 Pester, Jenkins, Remote & ExitCode Fabien Dibot 2016-07-02 https://pwrshell.net/pester-jenkins-remote-exitcode/
29 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
30 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/
31 Writing Pester Tests PowerShell Community 2016-11-07 https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/WritingPesterTests.md

Test your module with Pester

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
4 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
5 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
6 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
7 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
8 Generic Pester Tests Nicholas M. Getchell 2016-06-16 https://powershell.getchell.org/2016/05/16/generic-pester-tests/
9 Testing Your Module Manifest With Pester - Revisited Matt McNabb 2016-05-18 http://mattmcnabb.github.io/Pester-For-PowerShell-Gallery
10 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
11 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
12 A Boilerplate for Unit testing DSC resources with Pester Mathieu Buisson 2016-07-12 http://theshellnut.com/unit-testing-dsc-resources/

Videos

No. Title Author Date Url
1 Pester in Action - series Kevin Marquett 2015-11-11 https://www.youtube.com/playlist?list=PLOcTmsj9WHDo2_FfKePLaq_mJTcnW_fEJ
2 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
3 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

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

Integrations

No. Name Author Date Url
1 [VSCode snippets for Pester] Adam Bertram 2017-03-07 https://powershell.org/forums/topic/vscode-snippets-for-pester/

TBD

Waiting to be re-read and added

Clone this wiki locally