Skip to content

GTEST_SKIP Message not in exported XML #2728

@mhs-insiders

Description

@mhs-insiders

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions