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/**/*

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



One response

4 04 2010
hongbo zhang

Very nice trick!!, very useful!!

%d bloggers like this: