Rick Busch wrote:
I am a new Nant user and have so far been unable to execute existing nunit tests using the nunit2 task.
I’m using the 0.85 rc version of Nant and have re-compiled my nunit assembly using Nunit 2.2.
I get the following from Nant:
[nunit2] Assembly <assembly name> was not built using the Nunit framework and/or contains no tests.
Here’s my tests target:
<target name="runtests">
<nunit2 haltonfailure="false" failonerror="false" verbose="true">
<formatter type="Xml" usefile="true" extension=".out" outputdir="${build.dir}/results" />
<test assemblyname="${build.dir}/CoshakCompTest.dll"
appconfig="${build.dir}/CoshakCompTest.dll.config"
testname="TestHelloWorld" />
</nunit2>
</target>
Any ideas?
---------- Scanned for viruses by ClamAV
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nant-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users
