Testing, Testing, 1...2...3: Using Pester for Infrastructure ...
summary
Claims that Pester validates real infrastructure not just scripts, showing a module-based workflow where OVF exposes tests via two commands get-operationvalidation and invoke-operationvalidation. Demonstrations use Pester plus helpers: a running PSHealthZ listener that returns OVF/Pester JSON over HTTP, and Watchmen that runs tests and pushes 0/1 results into InfluxDB for Grafana dashboards. Examples include blue/green smoke checks, compliance audits (domain-admin lists compared to a source-controlled canonical list), and conditional automation that aborts when tests fail.
AI-written summary · about
chapters (5)
related talks
03h 02mPowerShell Unit and Infrastructure Testing
41mPesterize Your Code!!
28mFrom Monitoring to Automated Testing of Your Infrastructure Code
43mBeyond Pester 103: Applying a Testing Mindset
39mWriting Pester Tests at Scale
49mUsing Pester with Test Kitchen to thoroughly test your Chocolatey Packages
36mBeyond Pester 101: Applying testing principles to PowerShell
46mInfrastructure testing - it's a real thing!
