Add support for skipped tests - #292
Jean-Philippe Boivin (jpboivin) wants to merge 2 commits into
Conversation
|
@microsoft-github-policy-service agree |
|
This change was originally made in 2019 |
|
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: |
|
It's now mid-2026, and that bug is still in the latest version of Visual Studio! |
|
I’m currently facing the same issue with I reproduced it with a standalone GoogleTest containing only This PR appears to address exactly this skipped-test handling issue. It would be helpful to know if there is any plan to merge this PR into the Microsoft-maintained adapter. |
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.