Skip to content

Docs feedback: Improve JUnit Test Report documentation

Problem to solve

The documentation about Unit test report functionality (https://docs.gitlab.com/ee/ci/unit_test_reports.html) is incomplete or inconsistent with the internal behavior of the functionality.

I've generated JUnit reports based on the xml formal linked in the documentation JUnit report format XML files from IBM but the results view shows missing data in my report compared to what the view is expecting.

Further details

My report strictly follows (lets say I did my best...) the format provided by IBM as you can see here: JUnit_Extract.xml but when looking at the results view in my Merge Request, I see the following: image

It seems that some fields are not provided in my report (suite, filename, etc.) but the problem is I can't find any place where these expected fields are described correctly.

Proposal

Please improve the JUnit report documentation page to provide more details and 1 or many examples of JUnit report. I created my JUnit report generator myself since we're doing embedded software in C and we can't use existing tools like most of you (well, we probably could, although the setup is far from being easy).

Who can address the issue

Other links/references

Edited by Ghost User