blob: 16d4d10c607788597ea97bfca5c9452eb4db9c65 [file] [log] [blame]
Apache Sling Launchpad Testing module
This module builds a Sling instance using bundles from the trunk, and
runs integration tests against it, via HTTP.
Getting Started
===============
This component uses a Maven 2 (http://maven.apache.org/) build
environment. It requires a Java 5 JDK (or higher) and Maven (http://maven.apache.org/)
2.0.7 or later. We recommend to use the latest Maven version.
If you have Maven 2 installed, you can compile and
package the jar using the following command:
mvn package
See the Maven 2 documentation for other build features.
The latest source code for this component is available in the
Subversion (http://subversion.tigris.org/) source repository of
the Apache Software Foundation. If you have Subversion installed,
you can checkout the latest source using the following command:
svn checkout http://svn.apache.org/repos/asf/sling/trunk/launchpad/webapp
See the Subversion documentation for other source control features.
Integration tests
-----------------
This module runs number of integration tests provided by the sibling
integration-tests module.
To run individual tests, see the README.txt in that module.
Use mvn launchpad:run to start this test instance, allows you to run
and debug individual tests against it.
Using Reactor Builds
----------------
This project includes a Maven profile which with rewrite the bundle list to
use the latest version of all Sling projects which were built in the same reactor
build. To use this profile, execute the following command from the root project:
mvn -P test-reactor-sling-bundles clean install