Comments (3)
I don't think that we have any influence on that one - the adapter just receives a set of executables or test cases to be executed, but no information at all about the state of the last build. Plus, we cannot access the VS instance we are running in since the test code is executed in different processes. Thus, my guess is that every single test adapter out there has that issue. If you know one that doesn't, please let us know, we will than investigate the (hopefully accessible) source code.
Sorry for that - closing the issue...
from googletestadapter.
Yeah, ended up finding people that were complaining this wasn't possible in any test adapter/runner in VS. Here's an AHK script to do it for you:
;************************
;Automatically say "no" to visual studio failed build errors that prompt to re-run tests from last successful build
;************************
#Persistent
SetTimer, lookForBuildFailPopup, 100
return
lookForBuildFailPopup:
IfWinActive, Microsoft Visual Studio, There were build errors
{
ControlFocus, No
Send {Space}
Sleep, 2000
}
return
from googletestadapter.
Great, I might use that script at work - it's not that I'm not annoyed by that stupid dialog :-)
from googletestadapter.
Related Issues (20)
- 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
- Test discovery fails with collect code coverage enabled if global thread_local smart pointer is in the test code HOT 2
- 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
- Project configurations other than Debug/Release HOT 1
- Specify environment variable in .runsettings PathExtension
- Throwing test: wrong crash detection #110
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.