Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-4610

Tests in jackrabbit-spi2dav are not executed by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 2.21.2
    • 2.24
    • jackrabbit-spi2dav
    • None

    Description

      The (integration) tests below https://github.com/apache/jackrabbit/blob/0f0807d25283b8786d800dcc41821443f43c2f82/jackrabbit-spi2dav/pom.xml#L41 are skipped by default.
      They require a Jackrabbit Server running on localhost:8080 but this is not started automatically during a regular Maven Build.

      It would be good to

      1. run those ITs with maven-failsafe-plugin (instead of maven-surefire-plugin) and rename the test classes accordingly
      2. first start a Jackrabbit Server similar to how it is done in jackrabbit-jcr2dav and stop it accordingly after tests have been executed
      3. use the same profile "integrationTests" as for the other modules

      Remark: The commons JCR test suite is checked via a DavEx client in jackrabbit-jcr2dav but all specific tests from https://github.com/apache/jackrabbit/tree/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit are not.

      Attachments

        Issue Links

          Activity

            People

              baedke Manfred Baedke
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: