From: SourceForge.net <no...@so...> - 2004-08-26 18:50:16
|
Bugs item #1017107, was opened at 2004-08-26 11:50 Message generated for change (Tracker Item Submitted) made by Item Submitter 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? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1017107&group_id=31650 |