core
- components related code and scriptsui.frontend
- front-end buildtests
- responsible for the automatic validation of the componentscontent
- the minimal set of components and pages used during testingend-to-end
- end-to-end tests validating both components on authoring and publication
./mvnw clean install
./mvnw clean install -P e2e
After building the project, start MongoDB:
docker run -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=mongoadmin -e MONGO_INITDB_ROOT_PASSWORD=mongoadmin mongo:4.4.6
and run test feature using Sling Launcher from tests/end-to-end
directory:
java -jar target/dependency/org.apache.sling.feature.launcher.jar -f target/slingfeature-tmp/feature-sling-clientlibs-tests.json
Instance should start at http://localhost:8080/ in a couple of seconds (default credentials: wsadmin/wsadmin
).
Please read our Contributing Guide before submitting a Pull Request to the project.
Clientlibs is open-source
project with Apache License 2.0
license.