Support for Open Test Report format for test results

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

JUnit Jupiter and Maven's surefire plugin have support for the Open Test Reporting output format. This is a new XML format that is slated to replace the Legacy ant-based format currently in use: https://junit.org/junit5/docs/current/user-guide/#junit-platform-reporting-open-test-reporting.

When running a GitLab CI pipeline and marking the test report as a junit report, the test results are not shown on the Tests tab of the Pipeline:

stages:
  - test

maven_test:
  stage: test
  image: maven:3.9.9-eclipse-temurin-21
  script:
    - mvn test
  artifacts:
    reports:
      junit:
        - "**/target/surefire-reports/open-test-report.xml"

image

Example project: https://gitlab.com/JoepWeijers/open-test-report/

Example pipeline: https://gitlab.com/JoepWeijers/open-test-report/-/pipelines/1836974743/test_report

I'd like to request support for the Open Test Reporting format in GitLab CI.

Edited by 🤖 GitLab Bot 🤖