Hi All,

Could anyone please help

We are using the following script to test the Nunit
test case

<target name="runUnitTests" description="Runs unit
tests">
<nunit2 failonerror="true">
<formatter outputdir="${Build.OutputFolder}\"
usefile="true" type="Xml" extension=".xml"/>
<test>
<assemblies basedir="${Build.OutputFolder}\">
<includes name="C:\Nunit
Test\ClassLibrary1\Release\ClassLibrary1.dll"/>       
           </assemblies>
</test>
</nunit2>
</target>

But even if the Nunit test case is failed, it displays
build succeeded. With the Following Warning message
and no error message is displayed in XML File.


   [nunit2] Assembly "C:\Nunit
Test\ClassLibrary1\Release\ClassLibrary1.dll" is
using version 2.2.7.0 of the NUnit framework. If any
problems arise, then either
 rebuild this assembly using version 2.2.0.0 of the
NUnit Framework or use a bin
ding redirect from version 2.2.7.0 to version 2.2.0.0
of the NUnit Framework.

BUILD SUCCEEDED - 0 non-fatal error(s), 2 warning(s)


Could any one help me even the Nunit test case is
failed it displays success failures="0" in the XML
File

Prasad




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to