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

invalid junit format on success case #4

Open
JanPaulBeumer opened this issue Apr 16, 2024 · 0 comments
Open

invalid junit format on success case #4

JanPaulBeumer opened this issue Apr 16, 2024 · 0 comments

Comments

@JanPaulBeumer
Copy link

JanPaulBeumer commented Apr 16, 2024

Hi,
at first thanks for the awesome tool <3 and thanks for providing junit format.

i was using the junit format on my ci. there is a problem with no errors output, since it needs to have a testcase. otherwise its not valid junit format.

current output on success:
<?xml version="1.0" encoding="UTF-8"?><testsuites></testsuites>

how output should be:
<?xml version="1.0" encoding="UTF-8"?><testsuites><testsuite name="unknown classes" failures="0"><testcase name="All OK" assertions="1"/></testsuite></testsuites>

any other valid junit format is for sure fine aswell

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

No branches or pull requests

1 participant