mirror of https://github.com/apache/activemq.git
made it easy to be able to run a single NUnit test case e.g.
nant test-case -D:test=NMS.TemporaryQueueTest git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@428233 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0462d1d3d0
commit
df09548bde
|
@ -282,12 +282,19 @@
|
|||
|
||||
<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>
|
||||
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue