Top Description Methods
org.junit.jupiter.migrationsupport

public @Interface EnableJUnit4MigrationSupport

extends Annotation
Annotations
@SuppressWarnings:removal
@Target:TYPE
@Retention:RUNTIME
@API
status:DEPRECATED
since:6.0
@Deprecated
since:6.0
forRemoval:true
@EnableRuleMigrationSupport
@ExtendWith:IgnoreCondition
Static Imports
org.apiguardian.api.API.Status.DEPRECATED

Deprecated

for removal since 6.0.

Please migrate to Jupiter extensions and use @Disabled instead.

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
ExternalResourceSupport, VerifierSupport, ExpectedExceptionSupport, IgnoreCondition, EnableRuleMigrationSupport

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString