@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Inherited public @interface Cleanup
TestExecutionPhase.AFTER. You can set it also globally in arquillian.xml.
If not specified otherwise the whole database is erased.
You can change this behaviour by setting up strategy() field.TestExecutionPhase}, {@link CleanupStrategy}| Modifier and Type | Optional Element and Description |
|---|---|
TestExecutionPhase |
phase |
CleanupStrategy |
strategy |
public abstract TestExecutionPhase phase
public abstract CleanupStrategy strategy
Copyright © 2014 JBoss by Red Hat. All rights reserved.