On Mon, Jan 30, 2012 at 7:35 PM, sam ” <[email protected]> wrote: > ...Are there actual integration tests written with > http://sling.apache.org/site/sling-testing-tools.html (not just simple > samples) ?...
The Sling integration tests are found here: http://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests and run from here: http://svn.apache.org/repos/asf/sling/trunk/launchpad/testing They use similar techniques than the "new" sling testing tools that you mention. The sling testing tools are a cleaner and more modular reimplementation of that, that I and some of my colleagues are using in several projects. If you're starting a new project I would recommend using the sling testing tools, and to study how the actual Sling testing tools work you can have a look at the above two launchpad modules. Those don't use server-side JUnit tests, but a number of them inject scripts in the instance under test to reach similar goals, in a slightly less integrated and modular way. -Bertrand
