[ 
https://issues.apache.org/jira/browse/SLING-13066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053993#comment-18053993
 ] 

Bhavik Kothari commented on SLING-13066:
----------------------------------------

[~sseifert] Thank you :)

> [Sling Models] Migrate implpicker and basic root tests to JUnit 5
> -----------------------------------------------------------------
>
>                 Key: SLING-13066
>                 URL: https://issues.apache.org/jira/browse/SLING-13066
>             Project: Sling
>          Issue Type: Improvement
>          Components: Sling Models
>            Reporter: Bhavik Kothari
>            Assignee: Stefan Seifert
>            Priority: Major
>             Fix For: Models Implementation 2.0.2
>
>
> Continuing the JUnit 5 migration (following SLING-13064).
> This task covers the implpicker package and the first batch of the root 
> `impl` package (files starting A-C).
> Files:
> - FirstImplementationPickerTest (`implpicker`)
> - AdapterFactoryTest (covered in SLING-13052)
> - AdapterImplementationsTest
> - AnnotationConflictsTest
> - CachingTest
> - ConstructorTest
> - ConstructorVisibilityTest
> - CustomInjectorTest
>  
> Changes:
>  - Replacing `MockitoJUnitRunner` with `@ExtendWith(MockitoExtension.class)`.
>  - Updating all imports to `org.junit.jupiter.api`.
>  - Applying `lenient()` strictness to shared setup method to preserve legacy 
> test behavior and prevent `UnnecessaryStubbingException` without altering the 
> original test logic
>  - Correcting Assertion Argument Order
>  - Adding missing Assertion statements 



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

Reply via email to