Package com.flowable.action.engine.test
Annotation Interface ActionDefinitionDeployment
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
@Repeatable(ActionDefinitionDeployments.class)
public @interface ActionDefinitionDeployment
Annotation that can be used to trigger a deployment of action definitions for the provided test. If no
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:
- Class level - The action definitions will be deployed before all tests, and they will be removed after all tests
- Method level - The action definitions will be deployed before the test and will be removed after the test
@ActionDefinitionDeployment
class YourTest {
@BeforeEach
void setUp(ActionEngine actionEngine) {
...
}
@Test
@ActionDefinitionDeployment
void myTest(ActionService actionService) {
...
}
...
}
- Author:
- Filip Hrisafov
-
Optional Element Summary