Beyond Pester 101: Applying testing principles to PowerShell

We see a lot of talks on testing PowerShell with Pester, but are the tests we write good tests? What makes a test “good”? How do we measure how effective our tests are? This talk will cover testing philosophies and practices that can help you answer these questions, including why testing is important, different types of testing, and how to apply these principles to your project.Topics: Why test?* Identifying why you’re testing is key, as it affects how you write tests and measure their impact. Is cycle time a high priority? Or coverage? Different types of testing* Using the testing pyramid as a guide* Implementation vs Behavioural testing – pros, cons, and when to use each Measuring your testing* Having a test suite is all well and good but how do feed and care for it?* Measure your tests – pass/fail, time, failure counts, etc. Grooming your test suite* When and how to groom your suite. Move tests up and down the pyramid. Delete tests that yield no value. When not to test!* Every test your write requires maintenance and resources. You need to make sure the test is worth it. Each section will be backed up with practical examples and advice on how to apply this to real-world PowerShell projects