Hi Bertrand

Thanks for your response. I created Jira ticket 
https://issues.apache.org/jira/browse/SLING-9915 
<https://issues.apache.org/jira/browse/SLING-9915> This can be assigned to me.

One more question: 
I would like a way to disambiguate the service returned by @TestReference when 
there are multiple implementations of the interface. What would you think about 
an improvement such that the annotation can take a component.name parameter?

For example, both MyCoolServiceImpl and MyLameServiceImpl both implement 
MyService interface. I want to use MyCoolServiceImpl in the test.

@TestReference(component.name="org.package.MyCoolServiceImpl”) 
MyService myCoolService

Does it seem feasible? 

Regards
Cris 




> On Nov 10, 2020, at 3:04 PM, Cris Rockwell <[email protected]> wrote:
> 
> SlingAnnotationsTestRunner

Reply via email to