Top Description Methods
org.junit.jupiter.migrationsupport.rules

public @Interface EnableRuleMigrationSupport

extends Annotation
Annotations
@SuppressWarnings:removal
@Target:TYPE
@Retention:RUNTIME
@API
status:DEPRECATED
since:6.0
@Deprecated
since:6.0
forRemoval:true
@Extensions:@org.junit.jupiter.api.extension.ExtendWith({org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport.class}), @org.junit.jupiter.api.extension.ExtendWith({org.junit.jupiter.migrationsupport.rules.VerifierSupport.class}), @org.junit.jupiter.api.extension.ExtendWith({org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport.class})
Static Imports
org.apiguardian.api.API.Status.DEPRECATED

Deprecated

for removal since 6.0.

Please migrate to Jupiter extensions.

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, org.junit.jupiter.migrationsupport.EnableJUnit4MigrationSupport

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString