AEM UNIT TESTING - JCR,SLING,OSGi & AEM Mocks
Hi ,
For unit testing AEM applications we can think to use Mock objects via Mockito / other framework , one problem is to Mock as much as needed
If i see here there are Mocks provided for JCR,SLING & OSGi
- OSGi: http://sling.apache.org/documentation/development/osgi-mock.html
- JCR: http://sling.apache.org/documentation/development/jcr-mock.html
- Sling: http://sling.apache.org/documentation/development/sling-mock.html
Do we also have Mocks for AEM / CQ5 API like PageManger , TagManager like we have for JCR,SLING & OSGi
Such a thing will be really helpful , I see something here http://wcm.io/testing/ - Does Adobe approve this usage ? What i am worried about is the compatibility to AEM versions and its support
Does Adobe recommend its own AEM Mock rather http://wcm.io/testing/ - Please suggest ..