我正在尝试使用MSTest在命令行上运行.NET单元测试。
我的命令是:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\MSTest.exe" /testcontainer:"full path of dll" /resultsfile:TestResults.trx
运行时返回:
开始执行...
没有测试需要执行。
在VS 2012 IDE中,单元测试可以完美运行。
请问我需要做什么来使它在命令行上运行?