GithubHelp home page GithubHelp logo

apache / sling-org-apache-sling-launchpad-integration-tests Goto Github PK

View Code? Open in Web Editor NEW
5.0 30.0 7.0 916 KB

Apache Sling Launchpad Integration Tests

Home Page: https://sling.apache.org/

License: Apache License 2.0

Java 99.41% HTML 0.49% JavaScript 0.10%
java sling

sling-org-apache-sling-launchpad-integration-tests's Introduction

Apache Sling

Build Status Coverage Sonarcloud Status JavaDoc Maven Central launchpad License

Apache Sling Launchpad Integration Tests

This module is part of the Apache Sling project and contains test classes used by the launchpad/testing module.

To run a single test or a specific set of tests against a running Sling instance, use for example:

mvn test -Dtest=UploadFileTest -Dhttp.port=1234

Where UploadFileTest is the test to run. Wildcards are allowed, and test classes are found in the src/main folder (not a typo - that's not src/test as we want to pack the tests in the jar file that we build).

See the <properties> section in pom.xml for additional parameters that the tests use.

Here's another example, running the tests against a Sling instance running on host xyzzy, port 1234, with the Sling main servlet mounted under /foo:

mvn -o -s /dev/null test \
    -Dhttp.port=1234 \
    -Dtest.host=xyzzy \
    -Dhttp.base.path=foo \
    -Dwebdav.workspace.path=foo \
    -Dlaunchpad.readiness.mediatype=.json:application/json \ 
    -Dtest=**/integrationtest/**/*Test.java

To run or debug tests against the same instance that launchpad/testing module, see that module's README for how to start the test instance.

The standard -Dmaven.surefire.debug option can be used to debug the tests themselves.

Some tests might fail if not using a a Sling instance that's not setup by the launchpad/testing module, as that installs a few additional test bundles.

sling-org-apache-sling-launchpad-integration-tests's People

Contributors

asanso avatar bdelacretaz avatar chetanmeh avatar cziegeler avatar dependabot[bot] avatar enapps-enorman avatar ieb avatar jebailey avatar jlleitschuh avatar jsedding avatar justinedelson avatar karlpauls avatar klcodanr avatar kwin avatar oliverlietz avatar raducotescu avatar rombert avatar stefanseifert avatar trekawek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.