Annotation Type ClassLifecycle
-
@DroneLifecycle @Target({FIELD,PARAMETER}) @Retention(RUNTIME) public @interface ClassLifecycle
Declaration of class lifecycle, which means the drone will be prepared inBeforeClassand destroyed inAfterClass, resulting in one instance for all tests. NOTE: It's recommended to not use parameter, but field drone if you need one with class lifecycle.