Hi,
I've seen some examples from the Nuxeo source , where the deployment is done within the test methods through deployContrib (...) (old testing framework?). I would like to do the same using annotations on per method base. Or is it by design to deploy contributions on per class base?
Thanks.
[example]
@RunWith(FeaturesRunner.class)
@Features({CoreFeature.class})
[..]
public class TestClass {
@Test
@Deploy({"org.my.service:OSGI-INF/my-test-contrib.xml"}) /*nice to have*/
public void myTest() throws Exception {
...;
}