Class CleanTestExecutionListener

java.lang.Object
org.springframework.test.context.support.AbstractTestExecutionListener
org.flowable.spring.impl.test.CleanTestExecutionListener
All Implemented Interfaces:
Ordered, TestExecutionListener

public class CleanTestExecutionListener extends AbstractTestExecutionListener
Removes all deployments at the end of a complete test class.

Use this as follows in a Spring test:

Author:
jbarrez @RunWith(SpringJUnit4ClassRunner.class) @TestExecutionListeners(CleanTestExecutionListener.class) @ContextConfiguration("...")