Author: bdelacretaz
Date: Tue Apr 13 13:23:23 2010
New Revision: 933592
URL: http://svn.apache.org/viewvc?rev=933592&view=rev
Log:
SLING-1485 - adapt testing instructions to the use of the launchpad plugin
Modified:
sling/trunk/launchpad/testing/README.txt
Modified: sling/trunk/launchpad/testing/README.txt
URL:
http://svn.apache.org/viewvc/sling/trunk/launchpad/testing/README.txt?rev=933592&r1=933591&r2=933592&view=diff
==============================================================================
--- sling/trunk/launchpad/testing/README.txt (original)
+++ sling/trunk/launchpad/testing/README.txt Tue Apr 13 13:23:23 2010
@@ -78,11 +78,20 @@ with the Sling webapp mounted under /foo
-Dtest=**/integrationtest/**/*Test.java
The -s /dev/null parameter disables all your local Maven settings, to make
sure
-they don't interfere. Feel free to remove that if you know what you're doing.
+they don't interfere (and it's different under Windows). Feel free to remove
that
+if you know what you're doing.
-To run a single test, other values can be used for the "-Dtest" parameter.
+To run a single test, other values can be used for the "-Dtest" parameter. To
+leave this launchpad/testing instance running and run individual tests again
+it, for example, use:
-This is very useful during development: you can leave a Sling webapp instance
+ mvn launchpad:run
+
+and in another terminal:
+
+ mvn test -Dhttp.port=8888 -Dtest=TestClassSelectionNamePattern
+
+This is very useful during development: you can leave a Sling instance
running, update bundles in it using the mvn autoInstallBundle profile, and run
specific integration tests quickly from another terminal.