Hi,
 
I have finally got everything built and seemingly working.  I can compile two projects - a class library and then a testcases.dll.  When I try to run the following on the testcases:
 
    <nunit basedir="${build.dir}" haltonerror="true" haltonfailure="true">
      <formatter type="Xml"/>
     <test assemblyname="testcases.dll" outfile="results.txt"/>
    </nunit>
 
I get the following error:
 

BUILD FAILED
X:\XBuildTest\xbuildtest.build(87,7): 'class' is a required attribute of <test ... \>.
Try 'nant -help' for more information
 
My test case class has been written with the original standalone NUnit in mind, so the test class doesnt descend from anything in the NANT framework - should it?
 
Any advice on this would be most appreciated,
 
Kind regards
 
Nick.

Reply via email to