nunomaduro/collision

Running Collision With ParaTest Removes Timing Indicators For Each Test

andyleach opened this issue · 0 comments

I've dug around a bit, and I'm not at all certain this is the right place for this so if it's not, and you could point me in the right direction that'd be fantastic.

When running php artisan test I get a list of each test being run and the time needed to perform it via the Subscriber class and Writer thanks to the event system that is being piggybacked onto via PHPUnit. Unfortunately when I added Parallel Testing via Paratest as described in Laravel's documentation, I lost all of that. When digging into why this might be, I noticed that we were registering all of the events, but that they were not being invoked when being run in parallel via:

php artisan test --parallel --without-databases --processes=2 --testsuite=SetOne

If anyone has any ideas, or advice on how I can get this information back, that'd be great.