@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Inherited @Repeatable(value=ServiceDefinitionDeployments.class) public @interface ServiceDefinitionDeployment
resources()
are
provided, then an service definition containing the name of the test class and method would be used to deploy. There are 2 use cases for this annotation:
@ServiceDefinitionDeployment
class YourTest {
@BeforeEach
void setUp(ServiceEngine serviceRegistryEngine) {
...
}
@Test
@ServiceDefinitionDeployment
void myTest(ServiceService serviceService) {
...
}
...
}
Copyright © 2019. All rights reserved.