程序包 cn.taketoday.test.context.junit.jupiter


@NonNullApi @NonNullFields package cn.taketoday.test.context.junit.jupiter
Core support for integrating the TestContext Framework with the JUnit Jupiter extension model in JUnit 5.
  • 说明
    Abstract base class for implementations of ExecutionCondition that evaluate expressions configured via annotations to determine if a container or test is enabled.
    @DisabledIf is used to signal that the annotated test class or test method is disabled and should not be executed if the supplied DisabledIf.expression() evaluates to true.
    DisabledIfCondition is an ExecutionCondition that supports the @DisabledIf annotation when using the Infra TestContext Framework in conjunction with JUnit 5's Jupiter programming model.
    @EnabledIf is used to signal that the annotated test class or test method is enabled and should be executed if the supplied EnabledIf.expression() evaluates to true.
    EnabledIfCondition is an ExecutionCondition that supports the @EnabledIf annotation when using the Infra TestContext Framework in conjunction with JUnit 5's Jupiter programming model.
    ApplicationExtension integrates the TestContext Framework into JUnit 5's Jupiter programming model.
    @ApplicationJUnitConfig is a composed annotation that combines @ExtendWith(ApplicationExtension.class) from JUnit Jupiter with @ContextConfiguration from the Infra TestContext Framework.