Package org.springframework.test.context.junit.jupiter
@NullMarked
package org.springframework.test.context.junit.jupiter
Core support for integrating the Spring TestContext Framework
with the JUnit Jupiter testing framework.
-
ClassDescription
@DisabledIf
is used to signal that the annotated test class or test method is disabled and should not be executed if the suppliedDisabledIf.expression()
evaluates totrue
.DisabledIfCondition
is anExecutionCondition
that supports the@DisabledIf
annotation when using the Spring TestContext Framework in conjunction with the JUnit Jupiter testing framework.@EnabledIf
is used to signal that the annotated test class or test method is enabled and should be executed if the suppliedEnabledIf.expression()
evaluates totrue
.EnabledIfCondition
is anExecutionCondition
that supports the@EnabledIf
annotation when using the Spring TestContext Framework in conjunction with the JUnit Jupiter testing framework.SpringExtension
integrates the Spring TestContext Framework into the JUnit Jupiter testing framework.@SpringJUnitConfig
is a composed annotation that combines@ExtendWith(SpringExtension.class)
from JUnit Jupiter with@ContextConfiguration
from the Spring TestContext Framework.