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

Is there an option to remove device names and OS version from junit reports #272

Open
chri7325 opened this issue Jul 19, 2022 · 2 comments

Comments

@chri7325
Copy link

The junit results output by this tool add in the device and OS version into the junit results. Unfortunately, the . in the results does not play well with the Jenkins junit plugin, which treats the . as a separator between test suite and test name. This also impacts other tools such as the slack plugin which also reports junit results but also reports the wrong test suite and test names. Here's an example:

image

image

@tylervick
Copy link
Member

Hey @chri7325 - rather than removing this data, would it be acceptable to replace the problematic delimiters with some other symbol? E.g. 15.0 ~> 15_0

@chri7325
Copy link
Author

@tylervick thank you for the very quick response. Yes, I think that would actually be a good general fix as well. I was thinking an option could also be beneficial in other cases where you may not want results to be completely unique for historical purposes. For example, we currently use a single device for results and if we want to keep a total history of the results for a test, we'll lose the history next time we do an Xcode upgrade and the OS version increments, creating new unique results. That might be a lot more work though so in the short term, just removing the . would be a great first start.

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

2 participants