This is a FAQ (unfortunately, the mailing list archives are not available).

You can't use NUnit 2 yet, but it should be available soon from what I understand.

On Sunday, December 15, 2002, at 12:33 PM, Nick Robinson wrote:

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