On Thu, 2018-11-08 at 14:37 +0100, Bertrand Delacretaz wrote: > Hi, > > On Wed, Nov 7, 2018 at 5:29 PM Robert Munteanu <[email protected]> > wrote: > > ... > > https://cwiki.apache.org/confluence/display/SLING/Moving+integration+tests+closer+to+the+code+they+test > > ... > > I think it's a great idea to have tests closer to their code, while > also running a large test suite against a "complete" Sling instance. > > Not all tests might make sense in the global test suite however, but > that's easily fixable using test annotations or tags I suppose.
+1 on that. FWIW, my plan would be to first move some/most of the ITs from the launchpad.integration-testing module to specific modules - e.g. servlets.get, servlets.post, resourceresolver. To keep things simple, we could create an annotation or a naming convention that would exclude certain tests that don't make sense for the launchpad IT run. Robert
