~/talk

Writing Pester Tests at Scale

Talkat PowerShell + DevOps Global Summit 2023 · 2023-04-24..04-27· [testing]
slides:none on file

Claims concrete fixes for real scaling problems: migrating to Pester v5 breaks old import patterns so tests must load modules in a BeforeAll block; a module once hit 1700 tests and slowed CI so advice covers merging or sharding tests by OS and PowerShell version; concrete bugs include an Invoke-WebRequest unicode bug on Windows PowerShell and dangerous parameter prompts in generated tests; shows a working helper (called PesterGPT) that suggests code and test fixes and CI automation patterns.

AI-written summary · about

  1. 0:00Pester tests at scale
  2. 3:52Minimal Pester tooling
  3. 5:59Scaling Pester challenges
  4. 7:00Testable PowerShell code
  5. 10:56Team contribution guidelines
  6. 11:40Versioning in testing
  7. 14:54Unicode compatibility testing
  8. 17:31PowerShell docs pitfalls
  9. 19:19Scaffolding tests efficiently
  10. 20:25Optimizing test speed
  11. 24:20Automated test generation
  12. 27:55Live demo: AI test fixing
  13. 34:56AI in test workflows
  14. 37:26Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.