Review main Merged

71882[TASK] Avoid code duplication in splitFunctionalTests.php

Christian Kuhn CR +2 V +2 Normal +10 −70 updated 10/19/21, 12:04

Commit message

Build/Scripts/splitFunctionalTests.php is used in
gitlab-ci via runTests.sh to split functional tests
into smaller and better digestible chunks, so we can
run multiple jobs instead of one.

The script writes one xml file per job, which is
then picked up by phpunit runner.

It currently duplicates the basic xml setup from
Build/phpunit/FunctionalTests.xml.

The patch changes this to read existing .xml file
adds the files to be tested using an xml parser and
writes new xml files per job. This avoids the xml
setup duplication and is easier to maintain.

Review

  • Code review CR +2

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

  • Verified V +2

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

Issues 1

Files 1