Pest v4.5.0 introduces first-class support for flaky test retries via a new `flaky()` modifier and `--flaky` CLI flag, allowing intermittently failing tests to be automatically retried (default 3 times) before being reported as failures. The release also adds a `toBeCasedCorrectly()` architecture assertion that catches namespace/file path casing mismatches — a common source of class-not-found errors on Linux servers after local development on macOS or Windows. A new `--only-covered` option filters coverage output to show only files with actual coverage. Several bug fixes address dataset inheritance, parallel testing, trait detection, and Unicode filename handling.

3m read timeFrom laravel-news.com
Post cover image
Table of contents
# What's New# References
1 Comment

Sort: