Code Monkey home page Code Monkey logo

Comments (3)

csoltenborn avatar csoltenborn commented on May 27, 2024

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.

loki980 avatar loki980 commented on May 27, 2024

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.

csoltenborn avatar csoltenborn commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.