I have got the same problem here. Testing in AEM.First of all, unit tests in Java are obvious and explored well in last, at least, 10 years. Testing those: models, servlets and such is easy (at unit scope of course).However, its getting nasty when you want to test component scope (so that you want ...