mardi 2 avril 2019

Run all tests in PHPunit at once but isolated from each other

Some of my tests contains ob_start(); which causes an issue if the I simply run vendor/bin/phpunit (run all tests at once) however if I isolate the tests one by one via vendor/bin/phpunit --filter mytest, they work fine.

Is there a way to run the tests "all at once" but internally "isolated"?

Aucun commentaire:

Enregistrer un commentaire