Package com.flowable.engage.engine.test
Annotation Interface ConversationDefinitionDeployment
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
public @interface ConversationDefinitionDeployment
Annotation that can be used to trigger a deployment of conversation definitions for the provided test. If no
resources()
are
provided, then an conversation 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 conversation definitions will be deployed before all tests, and they will be removed after all tests
- Method level - The conversation definitions will be deployed before the test and will be removed after the test
@ConversationDefinitionDeployment
class YourTest {
@BeforeEach
void setUp(EngageEngine engageEngine) {
...
}
@Test
@ConversationDefinitionDeployment
void myTest(ConversationDefinitionService conversationDefinitionsService) {
...
}
...
}
- Author:
- Filip Hrisafov
-
Optional Element Summary
Optional Elements