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

catch_reporter_junit added xml attribute status #1899

Closed
wants to merge 1 commit into from
Closed

catch_reporter_junit added xml attribute status #1899

wants to merge 1 commit into from

Conversation

joda01
Copy link

@joda01 joda01 commented Mar 31, 2020

Description

Added "status" xml attribute to testcase section.
This is done to be compatible with google test junit xml output.

Added status xml attribute to testcase section. To be compatible with google test junit xml output
@horenmar
Copy link
Member

What does the status mean?

@joda01
Copy link
Author

joda01 commented Apr 2, 2020

@horenmar The status tells if this test case has been executed or not. In case of catch this should always be run I think. GoogleTest has the possibility to skip tests.

@horenmar
Copy link
Member

Catch2 actually does sometimes skip tests (you can mark tests as throwing and ask Catch2 to skip throwing tests, and arguably you could say that tests not selected to be run are also skipped), and there is a reporter interface member function for that (skipTest), but I am willing to leave that to a different PR.

@horenmar horenmar added the Tweak label May 15, 2020
@horenmar horenmar closed this in f133277 May 15, 2020
nitnelave pushed a commit to nitnelave/Catch2 that referenced this pull request May 25, 2020
This brings our output inline with GTest's. We do not handle skipped
tests properly, but that should be currently less important than
having the attribute exist with proper value for non-skipped tests.

Thanks @joda-01.

Closes catchorg#1899
cenit pushed a commit to physycom/Catch that referenced this pull request Aug 8, 2020
This brings our output inline with GTest's. We do not handle skipped
tests properly, but that should be currently less important than
having the attribute exist with proper value for non-skipped tests.

Thanks @joda-01.

Closes catchorg#1899
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants