Category: Laravel, Laravel

We think you might be interested in this job:

Lead Full-Stack Developer

SPARK Business Works

As you may know, Laravel and PHPUnit execute your tests sequentially within a single process. However, a single process doesn’t use multiple cores; therefore, your test execution is seriously bottlenecked!

Starting Laravel v8.25, you may use the built-in test Artisan command to run your tests simultaneously across multiple processes to significantly reduce the time required to run the entire test suite.

Of course, other Laravel testing goodies - such as Storage::fake - are ready to be used in Parallel too.

To get started, first ensure you are running the latest version of Collision and Laravel 8: Then, include the --parallel option when executing the test Artisan command: Be sure to check out the Parallel Testing documentation at laravel.com/docs.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Community Partners