Execute Unit Tests using MsBuild command line

后端 未结 3 1189
既然无缘
既然无缘 2020-12-28 14:54

I use scripting for this:

\"%ProgramFiles%\\Microsoft Visual Studio 9.0\\Common7\\IDE\\TF.exe\" 
  get $/DmlOnDemmand /recursive /force /noprompt

And I

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-28 15:23

    Have you tried using MSTest.exe?

    found possible dupe

    How to run unit testing tests from command line?

    and related

    How to run ALL tests in my solution using command line MSTest.exe?

    and in that question there is a neat utility called Gallio Echo that seems like a awesome option to check out.

    but if you want to just use MSTest.exe this should just about cover how to use it

    http://msdn.microsoft.com/en-us/library/ms182486.aspx

提交回复
热议问题