All Classes
-
Class Summary Class Description AssertToAssertions Change JUnit4's org.junit.Assert into JUnit5's org.junit.jupiter.api.Assertions The most significant difference between these classes is that in JUnit4 the optional String message is the first parameter, and the JUnit5 versions have the optional message as the final parameterAssertTrueToAssertThat This is a refactoring visitor that will convert JUnit-style assertTrue() to assertJ's assertThat().isTrue().CategoryToTag Transforms the Junit4 @Category, which can list multiple categories, into one @Tag annotation per category listedCategoryToTag.Scoped ChangeTestAnnotation MockUtilsToStatic In Mockito 1 you use a code snippet like:SpringRunnerToSpringExtension JUnit4 Spring test classes are annotated with @RunWith(SpringRunner.class) Turn this into the JUnit5-compatible @ExtendsWith(SpringExtension.class)TemporaryFolderToTempDir Translates JUnit4's org.junit.rules.TemporaryFolder into JUnit 5's org.junit.jupiter.api.io.TempDir