David,

Please provide a repro for these issues, although I'm not sure these are all NAnt issues ...

About your question on how to specify the location of an assembly reference : there's no way to do this right now, does the NUnit GUI or NUnit console support this ? (don't have time to check this right now)

Gert

----- Original Message ----- From: "David Thielen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 28, 2004 10:47 PM
Subject: [Nant-users] nunit2 failing - no message, several other problems



Hi;



I'm running the latest build and have nunit 2.2 installed. When I try the
following task:



     <target name="test" depends="init, compile-windward, compile-test">

           <nunit2>

                 <formatter type="Plain" usefile="true" extension=".txt"
outputdir="results"/>

                 <test assemblyname="test/${dir.output}/TestIt.exe"/>

           </nunit2>

     </target>



I get:



C:\src\netClient>nant test

NAnt 0.85 (Build 0.85.1693.0; net-1.0.win32; nightly; 8/20/2004)

Copyright (C) 2001-2004 Gerry Shaw

http://nant.sourceforge.net



Buildfile: file:///C:/src/netClient/netClient.build

Target(s) specified: test



test:



BUILD FAILED



C:\src\netClient\netClient.build(102,4):

Tests Failed.



Total time: 2.8 seconds.



The problem in the above case is it can't find a reference. Once I copied
the reference over to the bin/Release directory it worked. This illustrates
two problems:


1. If nunit won't run because of a missing reference - the error is not
displayed.
2. How do I specify the location of a reference for nunit?



Problem 2:

If the test programs call Console.out.Writeln() - that output goes to the
console instead of to the usefile. It is much more useful to have it go to
the usefile.



Problem 3:

If an unhandled exception is thrown in a worker thread in the code being
tested (I am testing to make sure the exception doesn't cause a problem),
the exception is written to the console. It is much more useful to have it
go to the usefile.



Thanks - dave





------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to