Bugs item #929632, was opened at 2004-04-05 10:52 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929632&group_id=31650
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: NucleoN (nucleon) Assigned to: Nobody/Anonymous (nobody) Summary: testname in nunit2 task does not function Initial Comment: Build script: <nunit2 verbose="true"> <formatter type="Xml" usefile="true" extension=".xml" outputdir="${components.build.dir}/results" /> <test assemblyname="${components.build.dir}\xyz.dll" appconfig="${components.build.dir} \xyz.UnitTest.dll.config" testname="TestErrorCode20388" /> </nunit2> Results in: NAnt 0.85 (Build 0.85.1554.0; net-1.0.win32; nightly; 3- 4-2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///D:/dotnet/xyz/Product/R02_00/xyz.build Target(s) specified: test [echo] Using 'net-1.1' framework on 'win32' platform. test: [echo] Testing in: p:\bin\components BUILD FAILED D:\dotnet\xyz\Product\R02_00\xyz.build(163,6): NUnit error. Object reference not set to an instance of an object. Total time: 0.6 seconds. When the testname attribute is not used, all tested are execeuted correctly ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2004-04-05 12:03 Message: Logged In: YES user_id=707851 If I'm not mistaken, you can only specify the full class name of a TestFixture that you want to execute in the testname attribute. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929632&group_id=31650 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers