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

sling-mock: JUnit 5 Extension - Support setting context member field in super classes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Testing Sling Mock 2.3.6
    • Component/s: Testing
    • Labels:
      None

      Description

      currently, member variables of type "SlingContext" are only detected and set in the test class itself by the JUnit 5 extension.
      sometimes test classes extend other test classes, and setting the member field in them should be supported as well.

        Attachments

          Activity

            People

            • Assignee:
              sseifert Stefan Seifert
              Reporter:
              sseifert Stefan Seifert
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: