Review main Abandoned

47553[TASK] Add phpunit-randomizer to require-dev in composer.json

Jan Helke CR 0 V 0 Normal +51 −3 updated 04/10/16, 18:03

Commit message

After applying this patch you can use the randomizer additionally
to phpunit. This randomizes the order the unit tests will be executed
on a phpunit run. This reveals cross dependencies between unit
tests.

So during your develoment you can use phpunit to execute your unit
test as usual. After you finished the development, run the randomizer

./bin/phpunit-randomizer -d memory_limit=-1 -c \
    typo3/sysext/core/Build/UnitTests.xml $* --order rand

After finishing you'll find the seed used to produce this particular
order (e.g. 1234). If you spot any errors during the randomizing, you
can use this seed to reproduce the order.

./bin/phpunit-randomizer -d memory_limit=-1 -c \
     typo3/sysext/core/Build/UnitTests.xml $* --order rand:1234

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2