How to build and run nunit scripts integrated in visual Studio via quickbuild

827 Views Asked by At

My quick build has three steps:

  1. Repository : Which is checking out the source from svn - running fine
  2. Run the nunit script via devenv.com and generate the abc.xml file - NOT WORKING
  3. Publish the report from that abc.xml - running fine with one sample xml

Could you help with this 2nd step? i.e generating .xml automatically via quickbuild from nunit test cases.

1

There are 1 best solutions below

0
On BEST ANSWER

Please use the NUnit console runner like this:

nunit-console /result:console-test.xml nunit.tests.dll

More information on the runner can be found here: http://www.nunit.org/index.php?p=consoleCommandLine&r=2.6.2