Pest 2 - Summer of Spice
summary
Pest v2.9 ships this summer with concrete features: snapshot testing that stores HTML responses to dot/pest snapshots and flags regressions; describe blocks and beforeEach scoped hooks for organizing tests; an enhanced architectural plugin that detects DD calls, enforces namespaces, strict types, readonly and naming rules; a type coverage report showing percent typed and a minimum threshold for CI; and a drift plugin that auto-migrates PHPUnit suites (demo migrates 22 files and converts a 43-test Jetstream app) via composer update.
AI-written summary · about
chapters (8)
- 0:00Introduction to Pest PHP
- 6:31Growth and roadmap overview
- 8:14Snapshot testing
- 14:44Describe blocks
- 18:42Architectural testing
- 29:13Type coverage
- 33:00The drift plugin
- 36:46Conclusion
related talks
49mIntroducing PEST: a delightful PHP Testing Framework
27mLiving your Pest file
43mBeyond Pester 103: Applying a Testing Mindset
39mWriting Pester Tests at Scale
55mSquash Bugs with Static Analysis
34mFantastic Bugs and Where to Find Them
27mFantastic Bugs And Where To Find Them by Iris Schaffer (Eng) | JSConfAM19
43mBeyond Pester 102: Acceptance testing with PowerShell
