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

Catch2 XML reporter does not output sections properly #170

Closed
cschreib opened this issue May 12, 2024 · 0 comments · Fixed by #183
Closed

Catch2 XML reporter does not output sections properly #170

cschreib opened this issue May 12, 2024 · 0 comments · Fixed by #183
Labels
bug:confirmed Something isn't working (confirmed)
Milestone

Comments

@cschreib
Copy link
Member

Reported in #169.

Without these changes CI and IDEs work ok, but failures in a section just fail the whole test. When we were using Catch2 a failure would be specific to a section allowing us to quickly drill down to the problem. So looking into the difference it is just the lack of section output in the "high" verbosity mode. Catch2 outputs section XML data by default.

It was fairly easy to make it work with basic testing, pass and fail. There are more complex edge cases around skips, nested sections, exceptions being thrown, and different verbosity levels. I am still ironing those out and need to make sure there is testing for it all.

@cschreib cschreib added the bug:confirmed Something isn't working (confirmed) label May 12, 2024
@cschreib cschreib added this to the v1.2.6 milestone May 12, 2024
@cschreib cschreib linked a pull request May 12, 2024 that will close this issue
@cschreib cschreib linked a pull request Oct 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:confirmed Something isn't working (confirmed)
Projects
None yet
1 participant