Pest 5 is here with a test impact analysis engine, an agent verification plugin, evals, and support for PHP 8.4 and PHPUnit 13.
#Testing
Articles
Laravel's Sleep facade replaces raw sleep() calls with a fluent, fully testable API — no more multi-second test suites.
A single Http::fake() response tests the happy path. Sequences let you test what your retry logic actually does when an API fails first.
Trial expirations, subscription renewals, and rate limit windows all depend on "now." Here is how to control it in tests instead of fighting it.
Factory states, relationships, and sequences let you express exactly the test data a scenario needs in a single readable line.
Pest PHP makes Laravel testing more expressive and less boilerplate-heavy. This tutorial walks through installation, expectations, datasets, higher-order tests, and architecture rules.