Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Collision With ParaTest Removes Timing Indicators For Each Test #307

Open
andyleach opened this issue Apr 30, 2024 · 0 comments
Open

Comments

@andyleach
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant