Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for JUnit legacy XML reports #3103

Conversation

romain-gilles-ultra
Copy link
Contributor

Some CI environments provide Unit test reports but for that, they need a specific output format.

This PR adds a general usage module to export TestResult into JUnit legacy XML test suite reports.

@lefou
Copy link
Member

lefou commented Apr 23, 2024

@romain-gilles-ultra I just merged #3099, which provides almost the same report (I guess) out of the box. Can you please comment, if this PR is now obsolete or still valid?

@romain-gilles-ultra
Copy link
Contributor Author

romain-gilles-ultra commented Apr 24, 2024

Hi @lefou
You can close this PR I will check if it works for me when I get a new night build 🤗
But when I checked this documentation https://github.com/testmoapp/junitxml and the code of sbt there are a couple of differences for example there is no concept of id in a testsuite and testcase. In my PR I was doing so grouping too.
If it does not work for me on gitlab I will create an new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants