Skip to content

Add support for skipped tests#292

Open
jpboivin wants to merge 2 commits into
microsoft:dev17from
jpboivin:dev/skipped_tests
Open

Add support for skipped tests#292
jpboivin wants to merge 2 commits into
microsoft:dev17from
jpboivin:dev/skipped_tests

Conversation

@jpboivin

@jpboivin jpboivin commented May 9, 2025

Copy link
Copy Markdown

I've cherry-picked the commit from the GTA project (csoltenborn#262) -- without other unrelated changes, and made minor changes to make it work in this fork.

I couldn't get a fully working setup (or did not understand how to properly run all tests), so I'd suggest to maintainers to take a look :) Otherwise, my team started used it (as a replacement of the official extension) and so far, no issues.

I'll report back if anything is raised.

@jpboivin

jpboivin commented May 9, 2025

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@ghost

ghost commented Sep 3, 2025

Copy link
Copy Markdown

This change was originally made in 2019
It would be really nice to have in the standard VS included version

@pdasen

pdasen commented Dec 11, 2025

Copy link
Copy Markdown

It looks like this plugin is still being maintained for VS2026. Correctly displaying the status for skipped tests would greatly enhance the UX for the C++ test suites in our organization. In order to not get false negatives on tests, that are run conditionally, we are forced to use our own workarounds in main(). However, the end result of having tests grayed out with "not executed" is not all that satisfactory from a developer's POV either.

Here's also a link back to the VS developer community issue:

https://developercommunity.visualstudio.com/t/googletest-skipped-tests-are-reported-as-failed-in/884416

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.

4 participants