Pest v4.6.0 introduces time-based shard distribution for CI test parallelization. Instead of splitting tests by file count (which can cause uneven shard durations), the new mode records per-class execution times using --update-shards, stores them in tests/.pest/shards.json, and automatically uses that data to balance CI shards by actual runtime. A GitHub Actions matrix example is included. New or renamed test files trigger a staleness warning but still run, distributed evenly across shards.

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

Sort: