Reputation: 2443
I'm trying to add my nunit tests to my cruisecontrol ccnet.config when build is forced on the dashboard, it opens up Nunit on my machine and gives me an error saying error in command line, where am i going wrong?
<nunit>
<path>C:\Program Files (x86)\NUnit 2.6.2\bin\nunit.exe</path>
<assemblies>
<assembly>C:\Users\computeruser\Documents\Visual Studio 2010\Projects\WebCrawlerMVC\WebCrawlerMVC.Tests\bin\Debug\nunit.framework.dll</assembly>
<assembly>>C:\Users\computeruser\Documents\Visual Studio 2010\Projects\WebCrawlerMVC\WebCrawlerMVC.Tests\bin\Debug\WebCrawlerMVC.Tests.dll</assembly>
</assemblies>
<excludedCategories>
<excludedCategory>LongRunning</excludedCategory>
</excludedCategories>
</nunit>
is there an easier or better method to take than above?
Upvotes: 3
Views: 528
Reputation: 4909
try using the nunit-console.exe application like this:
<nunit>
<path>"C:\Program Files\NUnit 2.6.2\bin\nunit-console.exe"</path>
...
</nunit>
Upvotes: 3