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

Fix JUnit XML generation. #573

Merged
merged 2 commits into from
Oct 5, 2023
Merged

Conversation

SanderVocke
Copy link
Contributor

@SanderVocke SanderVocke commented Jun 26, 2023

Problem:

  • Incorrect JUnit XML
  • In addition to this: the --out flag does nothing, as results always go to std::out and std::err.

Solution:

  • Add layer
  • "# tests" reported now maps to the amount of assertions
  • Fix closing tag of
  • Use output_filename to stream the report to.

Note:

Testing:

Issue: #567

Note: I am not well-versed in the modern C++ techniques used in boost-ext::ut. If the approach should be different it's probably best for someone to take over this PR.

@SanderVocke SanderVocke changed the title Quick fix of JUnit XML generation. Fix JUnit XML generation. Jun 26, 2023
@kris-jusiak kris-jusiak merged commit e45ea7e into boost-ext:master Oct 5, 2023
7 checks passed
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