Annotation Type TestEnv


  • @Target(FIELD)
    @Retention(RUNTIME)
    @Experimental
    public @interface TestEnv
    Marks the field in test class defining TestEnvironment.

    Only one field can be annotated as test environment in a test class.

    The lifecycle of TestEnvironment will be PER-CLASS for performance, because launching and tearing down Flink cluster could be relatively a heavy operation.