public class ClientBeforeAfterLifecycleEventExecuter
extends Object
Observer that executes the Before / After phases on the test case if the current test is in RunMode Client.
BeforeClass/AfterClass are ALWAYS executed on Client side and NEVER In Container.
In Container does not keep state between @Test, so Before/AfterClass works the same as Before/After.
Before/After are ONLY executed on Client side if the @Test's RunMode is Client.
BeforeX event execution has a low precedence to execute as late in the Before Phase as possible.
AfterX event execution has a high precedence to execute as early in the After Phase as possible.
(compared to other Arquillian @Observers)
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
- See Also:
BeforeLifecycleEventExecuter