liuggio / fastest

Simple parallel testing execution... with some goodies for functional tests.
MIT License
475 stars 65 forks source link

Not compatible with PHPUnit 9+ #165

Closed henryruhs closed 3 years ago

henryruhs commented 3 years ago

I get the following error using latest version of PHPUnit 9:

PHP Fatal error:  Uncaught Error: Class 'PHPUnit\Util\Configuration' not found in /home/redaxscript/vendor/liuggio/fastest/src/Queue/CreateTestsQueueFromPhpUnitXML.php:33
Stack trace:
#0 /home/redaxscript/vendor/liuggio/fastest/src/Queue/ReadFromInputAndPushIntoTheQueue.php(18): Liuggio\Fastest\Queue\CreateTestsQueueFromPhpUnitXML::execute()
#1 /home/redaxscript/vendor/liuggio/fastest/src/Command/ParallelCommand.php(83): Liuggio\Fastest\Queue\ReadFromInputAndPushIntoTheQueue->execute()
#2 /home/redaxscript/vendor/symfony/console/Command/Command.php(255): Liuggio\Fastest\Command\ParallelCommand->execute()
#3 /home/redaxscript/vendor/symfony/console/Application.php(971): Symfony\Component\Console\Command\Command->run()
#4 /home/redaxscript/vendor/symfony/console/Application.php(290): Symfony\Component\Console\Application->doRunCommand()
#5 /home/redaxmedia/Phpstor in /home/redaxscript/vendor/liuggio/fastest/src/Queue/CreateTestsQueueFromPhpUnitXML.php on line 33

Downgrade to PHPUnit 8 resolves the issue, but that is not an option for me at the moment.

henryruhs commented 3 years ago

Oh, I did not take a look into the PR section... https://github.com/liuggio/fastest/pull/153

DonCallisto commented 3 years ago

Resolved in https://github.com/liuggio/fastest/pull/153