Updating to latest v7 branch of phpunit is blocked by
codeception which relies on phpunit-mock-objects, so
we need to update this first from 2.4 to 2.5:
composer require --dev codeception/codeception:^2.5.4
Updating its dependencies then drops phpunit-mock-objects
and fetches phpunit 7.5:
composer update --with-dependencies codeception/codeception
Younger phpunit now has a random-order built in, the currently
used plugin can be removed:
composer remove --dev fiunchinho/phpunit-randomizer
typo3/testing-framework needs a raise to prevent a lower
phpunit version that would break the randomizer again:
composer require --dev typo3/testing-framework:~4.12.0
runTests.sh and its docker-compose file need some adaptions
so the unit test randomizer can be used, example calls:
Build/Scripts/runTests.sh -s unitRandom
Build/Scripts/runTests.sh -s unitRandom -o 1551445682
bamboo also needs some adaptions to now use built in phpunit
random functionality instead of phpunit-randomizer.