Running MsTest from the command line with a custom assembly base directory

前端 未结 2 982
面向向阳花
面向向阳花 2021-01-18 05:37

I did quite a lot of research on the web and tried a few settings, but I couldn\'t reproduce the behavior of running MsTest in Visual Studio 2012 on the command line.

<
2条回答
  •  借酒劲吻你
    2021-01-18 06:05

    After more searching we changed to use the test console runner that is included with VS2012:

    VSTest.Console.exe Tests\bin\Tests.dll /Framework:framework40 /Settings:LocalTestRun.testrunconfig

    This works with a relative path as applicationBaseDirectory.

提交回复
热议问题