Annotation Type EnabledWhenLinuxContainersAvailable


  • @Inherited
    @Target({TYPE,METHOD})
    @Retention(RUNTIME)
    @ExtendWith(EnabledWhenLinuxContainersAvailableCondition.class)
    public @interface EnabledWhenLinuxContainersAvailable
    Provides option to explicitly enable test only when Linux containers are available. The framework automatically detects when Linux containers are needed and only run tests when environment supports them. However, you may need to annotate tests with this annotation when our framework is not used (like when the QuarkusTest annotation is used).
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String reason
      Why is the annotated test class or test method disabled.
    • Element Detail

      • reason

        String reason
        Why is the annotated test class or test method disabled.
        Default:
        ""