You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Scott Yuan (Jira)" <ji...@apache.org> on 2024/11/29 02:34:00 UTC

[jira] [Created] (SLING-12510) Migrate Apache Sling Script JavaScript Support Test Cases to JUnit 5 for Compatibility with Sling Mocks Framework

Scott Yuan created SLING-12510:
----------------------------------

             Summary: 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


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)

Unsubscribing (was: [jira] [Created] (SLING-12510) Migrate Apache Sling Script JavaScript Support Test Cases to JUnit 5 for Compatibility with Sling Mocks Framework)

Posted by Robert Munteanu <ro...@apache.org>.
Hi,

On Sat, 2024-11-30 at 09:49 +0100, Tech Guru wrote:
> Please remove my email from the list

You have unsubscribe links at [1].

Thanks,
Robert

[1]: https://sling.apache.org/project-information.html#mailing-lists


Re: [jira] [Created] (SLING-12510) Migrate Apache Sling Script JavaScript Support Test Cases to JUnit 5 for Compatibility with Sling Mocks Framework

Posted by Tech Guru <sa...@gmail.com>.
Please remove my email from the list

On Fri, 29 Nov 2024 at 03:35, Scott Yuan (Jira) <ji...@apache.org> wrote:

> Scott Yuan created SLING-12510:
> ----------------------------------
>
>              Summary: 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
>
>
> 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)
>