blob: cbf01c23ec181e472468e55b433124c67e1657b9 [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. By default the instance is started, then the
integration-tests are executed and the instance is being shutdown again.
To run individual tests, see the README.txt in the integration-tests module.
Use mvn slingstart:start -Dlaunchpad.keep.running=true to start this test instance.
It allows you to run and debug individual tests against it (on client-side).
To debug this instance on server-side start with mvn slingstart:run -Dlaunchpad.keep.running=true -Ddebug.
That allows to connect to it via Java Remote Debugging on port 8000.
You can stop the instance via Ctrl+C.