Faster Laravel tests: cache the migrated (and seeded) test database as a snapshot and restore it instead of running migrate:fresh. MySQL, MariaDB, SQLite.
mysql testing laravel migrations ci sqlite phpunit laravel-package pest test-performance refreshdatabase database-snapshot
-
Updated
Oct 21, 2026 - PHP