Annotation Type EnableRuleMigrationSupport
@Target(TYPE) @Retention(RUNTIME) @API(status=STABLE, since="5.7") @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
,
and ExpectedException
rules are supported.
@EnableRuleMigrationSupport
is a composed annotation which
enables all supported extensions: VerifierSupport
,
ExternalResourceSupport
, and ExpectedExceptionSupport
.
- Since:
- 5.0
- See Also:
ExternalResourceSupport
,VerifierSupport
,ExpectedExceptionSupport
,EnableJUnit4MigrationSupport