PHPUnit 12.3 introduces two new features developed collaboratively during training courses. The first is test suite-specific bootstrap scripts, a long-requested feature finally implemented using a participant-suggested approach. The second is the #[TestDoxFormatter] attribute, which allows fully customized TestDox output by invoking a method with data provider data — addressing limitations of the existing #[TestDox] attribute and placeholders. Both features emerged from real-world scenarios encountered during Advanced PHPUnit and Test-Driven Development workshops.

3m read timeFrom phpunit.expert
Post cover image
Table of contents
Collaborative InnovationTest Suite BootstrappingCustom TestDox FormattingExclusive insights delivered to your inbox

Sort: