Annotation Interface EnableJUnit4MigrationSupport
@Target(TYPE)
@Retention(RUNTIME)
@API(status=STABLE,
since="5.7")
@ExtendWith(IgnoreCondition.class)
public @interface EnableJUnit4MigrationSupport
EnableJUnit4MigrationSupport is a class-level annotation that
enables all JUnit 4 migration support within JUnit Jupiter.
Specifically, this annotation registers all extensions supported by
@EnableRuleMigrationSupport and provides
support for JUnit 4's @Ignore annotation for
disabling test classes and test methods.
Technically speaking, @EnableJUnit4MigrationSupport is a composed
annotation which registers all of the following migration extensions:
VerifierSupport, ExternalResourceSupport,
ExpectedExceptionSupport, and IgnoreCondition. Note, however,
that you can optionally register one or more of these extensions explicitly
without the use of this composed annotation.
- Since:
- 5.4
- See Also: