Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-49

Enable running of JUnit5 and JUnit4 UI tests on Jenkins

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • None
    • None

    Description

      Follow-up to MGNLCE-166

      An attempt was already made at configuring maven-surefire and maven-failsafe plugins to run both the new Jupiter/JUnit5 based UI tests and the legacy ones written with JUnit4, see https://git.magnolia-cms.com/projects/PLATFORM/repos/ce/commits/d576be85fe9e3da1b99f6d9cabfd0e3d2a3b95ea

      However, that apparently resulted in breaking the configuration for running UI tests in parallel which passed from ~12' to ~40' to complete.   
      The behavior for concurrent execution of UI tests is orchestrated by the UI test pipeline and executed via failsafe plugin config at https://git.magnolia-cms.com/projects/PLATFORM/repos/ce/browse/magnolia-integration-tests/tests/pom.xml#357

      Maven upgrade

      As the following page indicates, Maven 3.6+ is needed for JUnit5 support without an additional Maven plugin. This is why we are bumping the version used by Jenkins for 3.5.2 to 3.6.2.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mmichel Maxime Michel
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR