Interface SkipExecutionHook

  • All Superinterfaces:
    LifecycleHook
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @API(status=EXPERIMENTAL,
         since="1.0")
    @FunctionalInterface
    public interface SkipExecutionHook
    extends LifecycleHook
    Use this hook to determine if an annotated element should be skipped during a test run or not. Evaluation of hooks is stopped as soon as a single hook returns SkipExecutionHook.SkipResult.skip(String).