Registry / testing / junit-jupiter-migrationsupport

junit-jupiter-migrationsupport

JSON →
library6.0.3javamavenunverified

Module 'junit-jupiter-migrationsupport' of JUnit provides support for migrating from JUnit 4 to JUnit 5.

<dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-migrationsupport</artifactId> <version>6.0.3</version> </dependency>
INSTALL
IMPORT
SIG · JUNIT-JUPITER-MIGR
J
junit-jupiter-migrationsupport
testingjavav6.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EnableRuleMigrationSupport
org.junit.jupiter.migrationsupport.rules.EnableRuleMigrationSupport

Shows how to use @EnableRuleMigrationSupport to enable JUnit 4 rules in JUnit 5.

import org.junit.jupiter.migrationsupport.rules.EnableRuleMigrationSupport; import org.junit.Rule; import org.junit.rules.TemporaryFolder; @EnableRuleMigrationSupport public class Example { @Rule public TemporaryFolder folder = new TemporaryFolder(); }
Debug
Known issues
breakingVersion 6.0.3 is very old; JUnit Jupiter 5.x is the current major version.
fix
Use org.junit.jupiter:junit-jupiter-migrationsupport version 5.x.
affects: >=6.0.0
Upgrade
Version history
6.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
junit-jupiter-migrationsupport — mvn dependency:get junit-jupiter-migrationsupport · libregistry