Anyone who uses Paratest: do you have to do anything special to get it to run your test bootstrap per process? I have vlucas/phpdotenv loading env vars in my bootstrap, but when running with Paratest, none of the env vars are present.

I’ve tried using --bootstrap, and that doesn’t help.

I’m using $_ENV to access the env vars, in case that matters.

#PHP #PHPUnit #Paratest

Is there a way to make #ParaTest respect #PHPUnit's baseline? Running tests with the same config and the same baselines gives different results depending on whether raw PHPUnit or ParaTest is used for execution.

Finally made some progress in testing the mbins ActivityPub code 💪
Still a long way to go though and paratest is giving me nightmares 😅

#mbin #php #activitypub #testing #paratest

#php #phpunit Not bad #paratest and its feature to suffix DB with a token : it allows to test a test isolated in a BDD then at tear down, we could removed them easily...even at the setUp in fact 🤔 ///yeahh sound good, really 😃

https://github.com/paratestphp/paratest?tab=readme-ov-file#test-token

GitHub - paratestphp/paratest: :computer: Parallel testing for PHPUnit

:computer: Parallel testing for PHPUnit. Contribute to paratestphp/paratest development by creating an account on GitHub.

GitHub