Annotation Type EnableRuleMigrationSupport
-
@Target(TYPE) @Retention(RUNTIME) @API(status=EXPERIMENTAL, since="5.0") @ExtendWith(ExternalResourceSupport.class) @ExtendWith(VerifierSupport.class) @ExtendWith(ExpectedExceptionSupport.class) public @interface EnableRuleMigrationSupport
This class-level annotation enables native JUnit 4 rule support within JUnit Jupiter.Currently, rules of type
Verifier
,ExternalResource
, andExpectedException
rules are supported.@EnableRuleMigrationSupport
is a composed annotation which enables all supported extensions:VerifierSupport
,ExternalResourceSupport
, andExpectedExceptionSupport
.- Since:
- 5.0
- See Also:
ExternalResourceSupport
,VerifierSupport
,ExpectedExceptionSupport