Как перенести nunit-config-файл в mstest? - PullRequest
1 голос
/ 15 июня 2009

Я бы перенес все свои юнит-тесты из nunit в mstest. В решении у меня есть файл nunit-config, который выглядит так:

<NUnitProject>
<Settings activeconfig="Web">
<Config name="Web" appbase="Web" configfile="web.config" binpathtype="Auto">
    <assembly path="bin\Product.NUnit.ComponentA.dll"/>
    <assembly path="bin\Product.NUnit.ComponentB.dll"/>
    <assembly path="bin\Product.NUnit.ComponentC.dll"/>
</Config>
</NUnitProject>

Вопрос сейчас, как я могу сделать это в mstest?

1 Ответ

1 голос
/ 02 июля 2009

Вы можете использовать MSBuild для выполнения "MSTest-Task" ... Посмотрите здесь: http://blogs.microsoft.co.il/blogs/ndobkin/archive/2007/12/16/mstest-task-for-msbuild.aspx

...