Author: jstrachan
Date: Wed Aug  2 21:41:03 2006
New Revision: 428233

URL: http://svn.apache.org/viewvc?rev=428233&view=rev
Log:
made it easy to be able to run a single NUnit test case e.g.

nant test-case -D:test=NMS.TemporaryQueueTest

Modified:
    incubator/activemq/trunk/activemq-dotnet/nant.build

Modified: incubator/activemq/trunk/activemq-dotnet/nant.build
URL: 
http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-dotnet/nant.build?rev=428233&r1=428232&r2=428233&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/nant.build (original)
+++ incubator/activemq/trunk/activemq-dotnet/nant.build Wed Aug  2 21:41:03 2006
@@ -282,10 +282,17 @@
 
   <target name="build" depends="build-test"></target>
 
-  <target name="test" depends="build-test">
+  <target name="test" depends="build-test" description="Runs all the NUnit 
test cases">
     <nunit2>
       <formatter type="Plain" />
       <test assemblyname="${build.dir}/bin/${project.name}.test.dll"></test>
+    </nunit2>
+  </target>
+
+  <target name="test-case" depends="build-test" description="Run a specific 
NUnit test case using the 'test' variable">
+    <nunit2>
+      <formatter type="Plain" />
+      <test assemblyname="${build.dir}/bin/${project.name}.test.dll" 
testname="${test}"></test>
     </nunit2>
   </target>
 


Reply via email to