Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2015

Provide a Sling servlet to run server-side JUnit tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Testing

    Description

      The testing/junit/core module currently uses a plain servlet that runs outside of the Sling request cycle.

      However, some tests depend on custom Sling Filters, for example, and as such need to run in the Sling request cycle.

      To keep the junit/core module reusable outside of Sling, I'll implement a second servlet, that will be active only in a Sling environment. The existing plain servlet can be disabled by configuration if needed.

      Attachments

        Activity

          People

            bdelacretaz Bertrand Delacretaz
            bdelacretaz Bertrand Delacretaz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: