Summer Sale! All accounts are 50% off this week.

shawnveltman's avatar

Pest Parallel with PHPUnit tests

Hey all,

I've got a few projects where I've got a large-ish legacy test suite in PHPUnit. The Laravel parallel testing integration with ParaTest made my life so much easier when it stabilized, and now I'm running my 3k+ tests against a mysql database in < 4 mins.

I want to start converting those tests to Pest, and I love that Pest can run standard PHPUnit tests along with Pest tests... But even after I install the Pest parallel plugin, its not running my PHPUnit tests in parallel.

Is there something easy that I'm missing in order to get Pest & Parallel plugin to run the PHPUnit tests in parallel?

It's a huge bummer to me, because it means I won't be able incrementally switch over to Pest - instead I'll have to try another Laravel Shift transition to pest, and hope that will work with all the craziness I've introduced in my test suite (custom helpers, functions, dependencies, etc), which was not overly successful when I last tried it (granted, that was ~10 months ago).

0 likes
0 replies

Please or to participate in this conversation.