Annotation Type ClassLifecycle


  • @DroneLifecycle
    @Target({FIELD,PARAMETER})
    @Retention(RUNTIME)
    public @interface ClassLifecycle
    Declaration of class lifecycle, which means the drone will be prepared in BeforeClass and destroyed in AfterClass, 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.