Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Scripting JavaScript 3.1.4
-
None
Description
The current Apache Sling Script JavaScript Support test cases rely on the outdated Apache Sling Testing Utilities (org.apache.sling.commons.testing), which cannot leverage the latest Sling Mocks framework that supports both JUnit 4 and JUnit 5.
This old approach hinders progress toward adopting the Sling Mocks framework, which provides a more unified and efficient testing approach. Additionally, it creates challenges for community members trying to contribute using a more up-to-date testing framework.
This ticket aims to migrate the existing test cases to JUnit 5, enabling the use of the Sling Mocks framework. This will help reduce maintenance gaps and address several issues identified by the SonarQube quality gate process.
Attachments
Issue Links
- is related to
-
SLING-12493 Apache Sling Scripting JavaScript 3.1.4+ test failed with Java 17 and Java 21
- Closed
- links to