You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bhavik Kothari (Jira)" <ji...@apache.org> on 2026/01/17 03:24:00 UTC

[jira] [Updated] (SLING-13062) [Sling Models] Migrate basic injectors tests to JUnit 5

     [ https://issues.apache.org/jira/browse/SLING-13062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bhavik Kothari updated SLING-13062:
-----------------------------------
    Description: 
Migrating the following simple Injector tests to JUnit5:
- BindingsInjectorTest
- ValueMapInjectorTest
- RequestAttributeInjectorTest
- ResourcePathInjectorTest

This includes replacing the MockitoJUnitRunner with the MockitoExtension and enabling LENIENT strictness to match legacy behavior.

This improves test readability and aligns with the work started in (https://issues.apache.org/jira/browse/SLING-13052).

  was:
Migrating the following simple Injector tests to JUnit5:
- BindingsInjectorTest
- ValueMapInjectorTest
- RequestAttributeInjectorTest
- ResourcePathInjectorTest

This includes replacing the MockitoJUnitRunner with the MockitoExtension and enabling LENIENT strictness to match legacy behavior.

This improves test readability and aligns with the work started in [#SLING-13052].


> [Sling Models] Migrate basic injectors tests to JUnit 5
> -------------------------------------------------------
>
>                 Key: SLING-13062
>                 URL: https://issues.apache.org/jira/browse/SLING-13062
>             Project: Sling
>          Issue Type: Improvement
>          Components: Sling Models
>            Reporter: Bhavik Kothari
>            Priority: Major
>              Labels: junit5
>
> Migrating the following simple Injector tests to JUnit5:
> - BindingsInjectorTest
> - ValueMapInjectorTest
> - RequestAttributeInjectorTest
> - ResourcePathInjectorTest
> This includes replacing the MockitoJUnitRunner with the MockitoExtension and enabling LENIENT strictness to match legacy behavior.
> This improves test readability and aligns with the work started in (https://issues.apache.org/jira/browse/SLING-13052).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)