[
https://issues.apache.org/jira/browse/SLING-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17901830#comment-17901830
]
Scott Yuan commented on SLING-12510:
------------------------------------
This improvement is a follow-up to
[SLING-12493|https://issues.apache.org/jira/browse/SLING-12493]
> Migrate Apache Sling Script JavaScript Support Test Cases to JUnit 5 for
> Compatibility with Sling Mocks Framework
> -----------------------------------------------------------------------------------------------------------------
>
> Key: SLING-12510
> URL: https://issues.apache.org/jira/browse/SLING-12510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Scripting JavaScript 3.1.4
> Reporter: Scott Yuan
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)