jstrachan 2002/07/23 09:03:39
Modified: src/plugins-build/test plugin.jelly
Log:
I've added a little new target to the test plugin that will start JUnit's Swing
TestRunner front end for running test cases. You can then choose certain tests from
the UI and run them on demand. Its kinda handy when you've a could of failing tests
you want to run from time to time.
To try this out on your project type
maven test:ui
Revision Changes Path
1.2 +15 -0 jakarta-turbine-maven/src/plugins-build/test/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/test/plugin.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.jelly 14 Jul 2002 19:09:32 -0000 1.1
+++ plugin.jelly 23 Jul 2002 16:03:39 -0000 1.2
@@ -83,4 +83,19 @@
</goal>
+ <goal name="test:ui"
+ description="Starts the Swing TestRunner front end"
+ prereqs="test:compile">
+
+ <java classname="junit.swingui.TestRunner" fork="yes">
+ <classpath>
+ <path refid="maven.dependency.classpath"/>
+ <pathelement location="${maven.build.dest}"/>
+ <pathelement location="${maven.test.dest}"/>
+ </classpath>
+ <arg value="-noloading"/>
+ </java>
+
+ </goal>
+
</project>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>