Here is a snip of my build file, specifically my "nunit" task:

<nunit basedir="${portal.bin.dir}" verbose="true" haltonerror="true"
haltonfailure="true">
        <formatter type="Xml" />
        <test class="com.intel.wspw.framework.test.AllTests"
                assembly="${portal.bin.dir}/${test.fullName}.dll"
                outfile="${portal.bin.dir}/${test.fullName}.Results" />
</nunit>

And when I run this is what I get:

BUILD FAILED
C:\projects\PortalSolutions\wspw.framework.build(151,4): Error running unit
test.
Error loading test class:
com.intel.wspw.framework.test.AllTests,c:/projects/PortalSolutions/portal/
bin/Wspw.Framework.Test.dll
Try 'nant -help' for more information

I have double checked all property values, file locations and other things
obvious...but I am pulling my hair out trying to figure this out.  And, the
test works when using the NUnitGui...specify the same dll and it can find
it.

Do I have a PATH problem
What should my basedir be?
Where does Nunit (dll, exe, console exe) have to be located...on my
path....same directory where I am building??

Please help!
Jason

PS.  I have .0.8.0.0 installed.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to