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

Support for multiple test summaries in a single JUnit report #4

Open
lyricsboy opened this issue Aug 12, 2016 · 4 comments
Open

Support for multiple test summaries in a single JUnit report #4

lyricsboy opened this issue Aug 12, 2016 · 4 comments

Comments

@lyricsboy
Copy link

When running tests against multiple destinations (e.g. iOS 8 + 9 simulators), xcodebuild produces a separate TestSummaries.plist for each destination. It would be super cool to aggregate these into a single JUnit report.

I propose flattening all the test runs into a single array of testsuites in the resulting XML. If we do that, we'll need to have some metadata at the testsuite level to distinguish one run of a target from another on a different destination.

Using a properties element allows us to add arbitrary key-value pairs to the testsuite.

@lyricsboy
Copy link
Author

Here's a branch where I've added some properties to the testsuite: master...lyricsboy:lyricsboy/multiple-test-summaries

Check it out and let me know what you think.

@nikolaykasyanov
Copy link

It would be great to have this! @lyricsboy 👍

@CraigLn
Copy link

CraigLn commented May 2, 2018

I'm hoping this isn't lost, but would be great it if could be added in. @lyricsboy possible to open a PR?

@lyricsboy
Copy link
Author

@CraigLn see #20. I have not yet tested this in a real scenario, but if you are interested in it, please do so and let us know if it works as desired.

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