Annotation Interface CleanTest
Annotation that instructs the internal flowable extensions to clean all deployments
of a test.
When used on a test class it will remove all deployments after each method. When used on a method it will remove the deployments only for that method.
This annotation is handled different depending on the
TestInstance.Lifecycle
and it's location.
-
Class annotated and
TestInstance.Lifecycle#PER_CLASS
- the clean would happen after all tests have run -
Class annotated and
TestInstance.Lifecycle#PER_METHOD
or no lifecycle - the clean would happen after each test has run - Method annotated - the clean would happen after the test has run
- Author:
- Filip Hrisafov