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

GTEST_SKIP Message not in exported XML #2728

Closed
mhs-insiders opened this issue Feb 25, 2020 · 1 comment
Closed

GTEST_SKIP Message not in exported XML #2728

mhs-insiders opened this issue Feb 25, 2020 · 1 comment

Comments

@mhs-insiders
Copy link

mhs-insiders commented Feb 25, 2020

Hi,

in our test suite we are using GTEST_SKIP in some circumstances to skip specific tests.
We would like to add some information for the reason a test was skipped just like the
failure message for failed tests.
I noticed that the GTEST_MESSAGE_ makro can take ::testing::TestPartResult::kSkip as an argument, but the supplied message will not be shown either in the Visual Studio Test Explorer nor will it be included in the exported XML-File.

Is there an existing way to export a message with GTEST_SKIP or could you expose this functionality in a future version?

Best Regards
MHs

@derekmauro
Copy link
Member

This appears to be fixed.

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