Incremental Integration testing with Sling

3 12 2009

I keep on forgetting how to do this.

cd launchpad/testing
mvn clean install 
mvn jetty:run 1> run.log 2>&1 &
# wait for startup to finish
mvn test -Dtest=**/integrationtest/**/*Test.java

you can leave the server running, redeploy bundles and re-run specific tests avoiding a full rebuild.

Advertisements

Actions

Information

One response

4 04 2010
hongbo zhang

Very nice trick!!, very useful!!




%d bloggers like this: