views:

144

answers:

1

I would migrate all my unit tests from nunit to mstest. In the solution I have a nunit-config file, which looks like that:

<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>

The question is now, how could I do that in mstest?

+1  A: 

You can use MSBuild to execute a "MSTest-Task"... Have a look here: http://blogs.microsoft.co.il/blogs/ndobkin/archive/2007/12/16/mstest-task-for-msbuild.aspx

Daniel Fisher lennybacon