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
@DisabledIfis used to signal that the annotated test class or test method is disabled and should not be executed if the suppliedDisabledIf.expression()evaluates totrue.DisabledIfConditionis anExecutionConditionthat supports the@DisabledIfannotation when using the Spring TestContext Framework in conjunction with the JUnit Jupiter testing framework.@EnabledIfis used to signal that the annotated test class or test method is enabled and should be executed if the suppliedEnabledIf.expression()evaluates totrue.EnabledIfConditionis anExecutionConditionthat supports the@EnabledIfannotation when using the Spring TestContext Framework in conjunction with the JUnit Jupiter testing framework.SpringExtensionintegrates the Spring TestContext Framework into the JUnit Jupiter testing framework.Enumeration of extension context scopes for configuring how theSpringExtensionresolves anExtensionContextwithin@Nestedtest class hierarchies.@SpringExtensionConfigis a type-level annotation that can be used to configure the behavior of theSpringExtension.@SpringJUnitConfigis a composed annotation that combines@ExtendWith(SpringExtension.class)from JUnit Jupiter with@ContextConfigurationfrom the Spring TestContext Framework.