Beyond Pester 201: Applying a Testing Mindset

By Glenn Sarti

Elevator Pitch

Pester is a great tool. You’ve probably used it for unit and acceptance testing, but you feel there’s something missing; How much more is there to testing? Is it just making sure my script works? It’s time to look at how testing can be used in everything (well almost everything…) you do!

Description

In my last two talks “Beyond Pester 101: Applying testing principles to PowerShell” and “Beyond Pester 102: Acceptance testing with PowerShell” I really focused on testing in of itself. But there’s so much more to being in a Testing Mindset. Software pipelines, VM images, audit scripts and so on, can all benefit from the skills of thinking like a tester.

Topics:

What is a testing mindset?

  • Always be thinking of testing!
  • … but you don’t always have to test

Why should scripters and IT Pros care about testing?

  • Immediate benefits
  • The cost of untested PowerShell
  • Long term happines

What tools can help me?

  • You mean there’s more than just Pester?

Whirlwind tour of some of the places where having a testing mindset can help you

  • Practical examples of applying a testing mindset as an IT Pro or scripter

Notes

Testing is often just seen as a Software Developer “thing”, but really we as IT Pro’s and scripters apply some of the same principles. It’s time to level up our knowledge and think more like testers (Software Quality Engineers) to make our lives and the lives of people that use our scripts better.

This talk will look at 3 or 4 examples in depth and how to apply a testing a mindset and example Pester/PowerShell code.