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

JUnit XML examples in the wild #28

Open
joshdk opened this issue Sep 30, 2019 · 2 comments
Open

JUnit XML examples in the wild #28

joshdk opened this issue Sep 30, 2019 · 2 comments

Comments

@joshdk
Copy link
Owner

joshdk commented Sep 30, 2019

Given the inconsistent and the property-based nature of the JUnit "spec", it is often the case where tests/suites may be rendered much differently by one tool or another.

If you have a novel JUnit XML file (especially if go-junit fails to parse it completely/sufficiently) please post it here (but anonymize its contents first).


Please include some brief information like:

  • Name of the tool that generated the XML file.
  • A link to its homepage.
  • A link, gist, or code block of the XML file.
  • Any notes on parsing errors, or missing information.
@rwbergstrom
Copy link
Contributor

rwbergstrom commented Sep 30, 2019

A toy example with stdout/stderr per-test-case that go-junit doesn't yet pick up: https://gist.github.com/rwbergstrom/6f0193b1a12dca9d358e6043ee6abba4

Generated by Surefire 2.2.1 on Maven 3.6.1. Stderr/Stdout only appear when the test case fails, however.

@ekharchenko-avito
Copy link
Contributor

ekharchenko-avito commented Jun 10, 2020

https://gist.github.com/ekharchenko-avito/21fc574b2706e5af83a592c124570ed7
Can not properly ingest results generated by phpunit - common testing library for php.
Problem is that tests may contain datasets, and in junit.xml output it is presented as embedded testsuite (see example).

UPD found existing fix within network here Bornholm@ca25290

UPD2 added #37

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

3 participants