Bugs item #1017107, was opened at 2004-08-26 13:50
Message generated for change (Comment added) made by dukeytoo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1017107&group_id=31650

Category: Tasks
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Phil Haack (haacked)
Assigned to: Nobody/Anonymous (nobody)
Summary: NUnit2 Throws Unhandled TargetInvocationException

Initial Comment:
I'm running an NUnit2 task (My unit tests were compiled 
using NUnit2.2) and it throws a 
System.Reflection.TargetInvocationException that is not 
handled and logged by NAnt.

The target looks like this:

<target name="unit.tests" depends="build" 
description="Runs unit tests on specified dlls">
                <nunit2 failonerror="true" 
verbose="true">
                        <formatter 
outputdir="${Build.OutputFolder}" 
type="${output.type}" usefile="false"  />
                        <test 
assemblyname="${Build.OutputFolder}\UnitTests.dll" 
appconfig="${Build.OutputFolder}\UnitTests.dll.config" />
                </nunit2>
    </target>


But in my logs, the last line is:

unit.tests:


Any ideas?




----------------------------------------------------------------------

Comment By: Steven Campbell (dukeytoo)
Date: 2004-12-15 23:47

Message:
Logged In: YES 
user_id=709880

I have experienced the same or similar problem (I cannot
recall the exact exception).  My particular tests were
testing .NET code that made heavy use of COM-interop.  That
may or may not be related.   I have had to disable the tests
in my Nant script, even though they run fine using
TestDriven.Net.  I am using a daily build of 0.85 from a few
months ago, which I had been using for a while without issue.

Possible triggering changes:
New interop dlls
New dependency on MS scripting runtime
restructured code

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2004-12-05 07:45

Message:
Logged In: YES 
user_id=707851

Ping !

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2004-08-26 14:49

Message:
Logged In: YES 
user_id=707851

Can you attach a repro for this issue ? What version of NAnt 
are you using ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1017107&group_id=31650


-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to