Running VSTS tests without mstest.exe

后端 未结 4 556
野趣味
野趣味 2020-12-28 19:00

From reasons I won\'t get into, all our unit tests are using the VSTS test framework. I now want to create an MSBuild script that runs the tests, but I don\'t want to use ms

4条回答
  •  灰色年华
    2020-12-28 19:33

    You can execute Team System Tests (MSTest) in NUnit if you use a special NUnit Addin that recognizes the MS Test Attributes (TestClass, etc).

    Exact Magic Software has an open-source "test-adapter" that can do this.

    UPDATE: I've reworked Exact Magic's Msts NUnit Adapter for NUnit 2.5.2.

    • Download here: http://snippetware.googlecode.com/files/ExactMagic.MstsAdapter.zip
    • Read more about it here: http://www.bryancook.net/2009/10/mstest-nunit-adapter.html

提交回复
热议问题