Ask a questionAsk a question
 

Proposed AnswerIs there any object model for running VS Tests?

  • Sunday, November 01, 2009 9:59 PMTrinominal Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

    Is there any interface or any object model in which I can run VS Tests (even when the VS is closed!). I know I can use MSTest, is there any DLL set which MSTest works with which I can use to run the tests (again, even when the VS is closed, i.e., not through the Add-Ins interface!)?

    Regards

All Replies

  • Tuesday, November 03, 2009 10:11 AMEdwer FangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Hello,

    As I know, there is no specific dll directs the working mstest. Mstest.exe lies under the path '.....\Microsoft Visual Studio 9.0\Common7\IDE\'. You may utilize it under that path.

    If I have misunderstood you, please correct me.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
  • Tuesday, November 03, 2009 5:34 PMTrinominal Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Edwer Fang,

    Thanks for the reply, but I'm looking for an object model, or an API to run the tests. Even if it's not being directly used by the MSTest.

    Regards
  • 2 hours 51 minutes agoJoe Allan Muharsky - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

    Edwer is correct; you can execute MSTest from a command-line, or from your code, to run a set of tests outside the VS IDE.


    Joe Allan Muharsky, SDET VSTT