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