Hi,

I'm setting up some sling junit tests. 
http://sling.apache.org/site/sling-testing-tools.html

But does anyone have advice on how to organize these tests? I know that they 
have to be installed with a bundle, but this means changing the scope of some 
testing dependencies from test to compile.

I'm assuming now that I should stick these in a separate bundle so that I can 
separate out the test code when I want to deploy something for production. Is 
this what people generally do, separate these runtime tests into a separate 
bundle?

And related to that then, if I declare a scope in a child pom that is different 
than the parent pom, the child declaration overrides the parent? I would like 
to continue having some tests run at compile time with scope test, and have 
these new tests run in the runtime environment.

Rob

Reply via email to