Skip to content

Improve jUnit output for launch tests when run with py.test#404

Merged
hidmic merged 1 commit intomasterfrom
hidmic/fix-junit-for-launch-pytests
Apr 20, 2020
Merged

Improve jUnit output for launch tests when run with py.test#404
hidmic merged 1 commit intomasterfrom
hidmic/fix-junit-for-launch-pytests

Conversation

@hidmic
Copy link
Copy Markdown

@hidmic hidmic commented Apr 17, 2020

Addresses #400. I'll start by saying that while I'm not super happy with this patch -- it relies a bit too much on pytest internals --, it's the one I could come up with without undergoing major surgery.

CI (up to launch_testing and ros2topic)

  • Linux Build Status

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic requested a review from dirk-thomas April 17, 2020 20:37
Copy link
Copy Markdown
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super fragile but since the current state is strictly worse... 👍

This should really be revisited - so adding a TODO / follow up ticket would be good.

@hidmic
Copy link
Copy Markdown
Author

hidmic commented Apr 20, 2020

This should really be revisited - so adding a TODO / follow up ticket would be good.

I agree. I tried hard to make this better, but I was unable to without turning launch_testing into a pytest plugin. I'll open an issue to track future shim development and/or integration efforts.

@hidmic
Copy link
Copy Markdown
Author

hidmic commented Apr 20, 2020

See #405. I'll merge this now.

@hidmic hidmic merged commit 05d702e into master Apr 20, 2020
@delete-merged-branch delete-merged-branch bot deleted the hidmic/fix-junit-for-launch-pytests branch April 20, 2020 17:14
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