Comments (2)
Thanks for the great bug report! However, I don't think that GTA is to blame here since it merely runs your executable with .NET's Process framework, but is not involved at all with collecting code coverage information - this is done by vstest.console.exe
. I fear that I can't help here.
I would maybe try a different gtest version then the one provided by MS (e.g. add the gtest code to your solution, build it yourself, and link that version), or to talk to the MS Test guys providing vstest.console.exe
. One more thing you could try is to use Test Adapter for Google Test (MS' clone of GTA) instead of GTA, but I expect the same behavior from that one.
Let me know if you could solve the problem - might be something for the trouble shooting section of the GTA docs!
from googletestadapter.
I will close this issue since it probably indeed is a VsTest problem, but in case relevant information is added to microsoft/codecoverage#32 maybe you could leave a short notice here - thanks!
from googletestadapter.
Related Issues (20)
- Visual Studio Bug: Clicking on test result sometimes kills VS2019 HOT 25
- .
- Unexpected values passed in to --gtest_filter command line option when using GTA with VSTest.Console.exe HOT 3
- Test discovery fails randomly (when using solution settings file (?)) HOT 3
- Visual Studio 2022 support HOT 17
- Test discovery fails when using vcpkg Autolink HOT 2
- Test discovery appears to run the whole test suite HOT 8
- Cancel test does not terminate process HOT 3
- Tests won´t show up in VS 2019 Test Explorer HOT 16
- Doesn't work in VS2022 HOT 1
- Output is hidden if test does not fail HOT 1
- Namespaces not detected in VS2019 HOT 1
- GTest report generation - Question HOT 2
- INSTANTIATE_TEST_SUITE_P function definition not found for VS2022 Windows 11 HOT 1
- Typed tests do not run HOT 1
- Sample of how to set parameters like --gtest_output=xml:testReport.xml in runsettings file
- [Problem:] When adding `GTA_Traits_1.8.0.h` to allow "Traits" usage to a Visual Studio 2022 (17.3) test project, then it can no longer be debugged in Test Explorer
- Unable to set SkipOriginCheck in Visual Studio
- Tests from anonymous namespaces cannot be executed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googletestadapter.