Hi, See contrib/extensions/jcrinstall/it - I used Juanjo's whiteboard example (whiteboard/jvazquez/testing) as a base, thanks!
Tests obviously run slower than pure JUnit tests, but not too slow, and it's fairly easy to assemble some bundles to test services. I have configured debugging so that -Dpax.exam.debug.port=1234 on the mvn command line activates remote debugging of the tests, which run in a separate VM. For my jcrinstall tests it would be nice to be able to grab bundles from the Maven repository using Pax Exam's mavenBundle() and friends, but I havent figured that out yet. -Bertrand
