Answered Again: MSTest and a Build Server

  • Tuesday, January 24, 2012 8:07 PM
     
     

    We have invested quite a bit of money into the purchases of Visual Studio 2010 professional and development time in using MSTest.  Is there a way to use MSTest without installing Visual Studio onto our build server or a continuous integration server? 

    We do not have an MSDN subscription do we not have Team Foundation Server. 

    Is our only option to begin looking at other unit testing frameworks? 

    If we have all of our developers using VS 2010 Pro could we install VS on our build server and unit test server just to allow the tests to run?  No code is being developed on these servers.  It is only to get the mstest runtime installed.

     

All Replies

  • Wednesday, January 25, 2012 10:21 AM
     
     

    Hi,

    MSTest command line is part of VS, you cannot just copy MSTest.exe to the servers.

    Another option is to install Test Controller and Test Agent. Test Agent can excute the Unit Test.


    Ruiz Yi
    MSDN Community Support | Feedback to us
  • Wednesday, January 25, 2012 3:38 PM
     
     Answered
    It looks like with the user license of Visual Studio we shoudl be able to install VS onto the continous build/test server to provide use of mstest.exe.  I have installed Test Controller and Test Agent to see if I could figure out what it does... It is looking like it is for a different set of users than what we need.  I don't see it installing mstest.exe to execute the tests. 
    • Marked As Answer by .MARK Wednesday, January 25, 2012 3:38 PM
    •