background
Hi,
So, I recently started working for a company using AEM 6.1, and I am also a junior developer.
When I meet my buddy (senior developer), he usually drives. But it doesn’t record unit tests, it hurts me. He explained that it is difficult to unit test AEM.
Our project uses HTTP requests and responses, the Osgi structure and a large Jcr repository, jsps, servlets and database connections. We use all kinds of design patterns, create adapter classes ... And so on.
Questions
Why is it difficult to create unit tests for AEM when there is a mocking framework for sling, Osgi and Jcr?
How can I find out unit test AEM 6.1?
moving forward ...
Am I looking for resources to create unit tests for AEM? If possible, can you indicate any resources below?
source
share