Top Description Annotations Classes
module org.junit.jupiter.migrationsupport

Package org.junit.jupiter.migrationsupport.rules

Annotations
@NullMarked
Imports
org.jspecify.annotations.NullMarked

Deprecated extensions which provide (limited) support for JUnit 4 rules within JUnit Jupiter.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
EnableRuleMigrationSupport

Deprecated for removal since 6.0. Please migrate to Jupiter extensions.
This class-level annotation enables native JUnit 4 rule support within JUnit Jupiter.

Class Summary

Modifier and TypeClass and Description
public class
ExpectedExceptionSupport

Deprecated for removal since 6.0. Please use org.junit.jupiter.api.Assertions#assertThrows(Class, Executable) instead.
This Extension provides native support for the ExpectedException rule from JUnit 4.
public class
ExternalResourceSupport

Deprecated for removal since 6.0. Please use @AutoClose instead.
This Extension provides native support for subclasses of the ExternalResource rule from JUnit 4.
pack-priv class
public class
VerifierSupport

Deprecated for removal since 6.0. Please implement org.junit.jupiter.api.extension.AfterTestExecutionCallback instead.
This Extension provides native support for subclasses of the Verifier rule from JUnit 4.