Annotation Type MethodLifecycle
-
@DroneLifecycle @Target({FIELD,PARAMETER}) @Retention(RUNTIME) public @interface MethodLifecycle
Declaration of method lifecycle, which means the drone will be prepared inBeforeand destroyed inAfter, resulting in fresh instance of drone for every test.