Package org.springframework.test.context.junit4.rules
@NonNullApi
@NonNullFields
package org.springframework.test.context.junit4.rules
Custom JUnit 4
Rules
used in the Spring TestContext Framework.-
ClassDescription
SpringClassRule
is a custom JUnitTestRule
that supports class-level features of the Spring TestContext Framework in standard JUnit tests by means of theTestContextManager
and associated support classes and annotations.SpringMethodRule
is a custom JUnit 4MethodRule
that supports instance-level and method-level features of the Spring TestContext Framework in standard JUnit tests by means of theTestContextManager
and associated support classes and annotations.