I have overlayed an OOTB core component. I have modified & added some fields to it. I was able to create a SLING Modal for the same through delegation and only wrote Injectors & getters for the custom fields I added.
Now I want to acheve the same in Unit test classes.
Although, I am able to import com.adobe.cq.wcm.core.components.internal.models.v1.ButtonImpl,
I am not able to import com.adobe.cq.wcm.core.components.internal.models.v1.ButtonImplTest.
Is there anything that I'm missing here?
I want to achieve something similar like ButtonImplTest(v2), where it has extended v1 test class in the WCM Core components code.
Solved! Go to Solution.
Hi,
You can check https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/junit-test-cases-for-sling...
Thanks @arunpatidar,
I will try this and update in this thread.
Views
Likes
Replies