open class SpringClassRule : TestRule
In contrast to the org.springframework.test.context.junit4.SpringJUnit4ClassRunner, Spring's rule-based JUnit support has the advantage that it is independent of any org.junit.runner.Runner and can therefore be combined with existing alternative runners like JUnit's In order to achieve the same functionality as the
The following list constitutes all annotations currently supported directly or indirectly by
NOTE: As of Spring Framework 4.3, this class requires JUnit 4.12 or higher. |
|
open class SpringMethodRule : MethodRule
In contrast to the org.springframework.test.context.junit4.SpringJUnit4ClassRunner, Spring's rule-based JUnit support has the advantage that it is independent of any org.junit.runner.Runner and can therefore be combined with existing alternative runners like JUnit's In order to achieve the same functionality as the
The following list constitutes all annotations currently supported directly or indirectly by
NOTE: As of Spring Framework 4.3, this class requires JUnit 4.12 or higher. WARNING: Due to the shortcomings of JUnit rules, the |