Skip to content

Releases

3.55.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 05 Nov 05:59
847db20

What's Changed

New Contributors

Full Changelog: v3.53.0...v3.55.0

3.54.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 04 Nov 16:44
847db20

What's Changed

New Contributors

Full Changelog: v3.53.0...v3.54.0

3.53.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 02 Nov 09:29

What's Changed

  • Upgrade existing Platform and Vintage dependencies in the JUnit 6 migration by @jkschneider in #1261
  • Preserve Kafka image provider during Testcontainers 2 migration by @jkschneider in #1262

Full Changelog: v3.52.0...v3.53.0

3.52.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 28 Oct 20:29
ee6c7d9

What's Changed

Full Changelog: v3.51.0...v3.52.0

3.51.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 27 Oct 22:38
95f20eb

What's Changed

  • Preserve legacy Hamcrest class matcher semantics in AssertJ migrations by @jkschneider in #1250
  • Retain opaque Hamcrest matcher assertions without crashing by @jkschneider in #1251
  • Preserve Mockito initialization for unmanaged targets and shared handles by @jkschneider in #1249
  • Compare types with TypeUtils.isOfType instead of JavaType.equals by @knutwannheden in #1252
  • Keep AssertToAssertions output stable after rewrite qualifies shadowed calls by @timtebeek in #1254
  • Pin bare mockito-core type table lookups to a single Mockito major by @timtebeek in #1255

Full Changelog: v3.50.0...v3.51.0

3.50.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 27 Oct 02:12
55b8562

What's Changed

  • Fixes Mockito getting PowerMock's version from parent pom properties and Gradle version variables by @sambsnyd in #1198
  • Keep the method type in sync with the return type in ConvertToRawType by @knutwannheden in #1202
  • Use ListUtils.filter instead of mapping elements to null by @timtebeek in #1203
  • Only add the Mockito type import when spying statically by @timtebeek in #1204
  • Upgrade to Gradle 9.8.2 by @jkschneider in #1206
  • Always import the class mocked by MockitoWhenOnStaticToMockStatic by @Jammy-Louie in #1208
  • Let rewriteRun verify the JUnit 4 to 5 migration settles by @knutwannheden in #1209
  • Mockito, JMockit and JUnit recipes remove or type the imports they leave unused by @knutwannheden in #1210
  • Only drop a literal zero delta in AssertEqualsIntegralDeltaToAssertEquals by @timtebeek in #1212
  • Track Hamcrest not(..) negation locally instead of on the ExecutionContext by @timtebeek in #1214
  • Only adopt hasSeconds for isEqualTo in AdoptAssertJDurationAssertions by @timtebeek in #1215
  • Leave tests that call assumptions alone in TestsShouldIncludeAssertions by @timtebeek in #1213
  • Keep JUnit deltas when converting assertEquals, assertNotEquals and assertArrayEquals to AssertJ by @timtebeek in #1216
  • Only turn the WireMockRule field's @Rule into @RegisterExtension in UseWiremockExtension by @timtebeek in #1218
  • Keep early returns in TestMethodsShouldBeVoid and KotlinTestMethodsShouldReturnUnit by @timtebeek in #1217
  • Use JavaFileChecker preconditions instead of isAcceptable overrides by @timtebeek in #1219
  • Only convert Java sources in UseAssertSame by @timtebeek in #1223
  • Only convert assertInstanceOf used as a statement in JUnitAssertInstanceOfToAssertThat by @timtebeek in #1222
  • Only remove a direct PowerMockTestCase or PowerMockConfiguration superclass in RemovePowerMockClassExtensions by @timtebeek in #1224
  • Only replace assertNotEquals(false, <boolean>) when the second argument is a primitive boolean by @timtebeek in #1220
  • Only migrate the two-argument InvocationInterceptor.interceptDynamicTest in RemoveInterceptDynamicTest by @timtebeek in #1221
  • Hoist matchers created per visit to private static final constants by @timtebeek in #1225
  • Use the Comments trait and ListUtils/reduce instead of hand-built comments and manual list handling by @timtebeek in #1226
  • Add UsesMethod and UsesType preconditions to recipes that visit every file by @timtebeek in #1227
  • Fix typos, over-claiming and inconsistent recipe display names and descriptions by @timtebeek in #1231
  • Remove stale @Disabled tests, //noinspection lines and restating comments by @timtebeek in #1233
  • Use MethodMatcher, AnnotationMatcher and variable types instead of name strings by @timtebeek in #1228
  • Align test names with recipes, group no-change tests and tidy classpath entries and YAML by @timtebeek in #1235
  • Drop forced maybeAddImport(.., false) where templates already attribute the added types by @timtebeek in #1234
  • Run unconditional sub-recipes from getRecipeList() and keep cleanups local to the changed element by @timtebeek in #1230
  • Tighten preconditions that were too broad or too narrow by @timtebeek in #1229
  • Drop contextSensitive() from self-contained JavaTemplates by @timtebeek in #1232
  • Support Gradle Kotlin DSL in GradleUseJunitJupiter and AddJupiterDependencies by @timtebeek in #1238
  • Create a unique folder for no-argument TemporaryFolder#newFolder() by @timtebeek in #1237
  • Skip Hamcrest matchers that take nested matchers in HamcrestMatcherToAssertJ by @timtebeek in #1236
  • Add junit-jupiter-migrationsupport where the JUnit 4 migration uses it, and only remove it once unused by @timtebeek in #1239
  • Keep the message overloads of TestNG assertThrows/expectThrows in TestNgAssertThrowsToAssertThat by @timtebeek in #1240
  • Keep isNotEmpty() and isNotNull() guards in SimplifyRedundantAssertJChains when the next assertion passes without them by @timtebeek in #1241
  • Only replace @CsvSource values that CSV parsing leaves unchanged in CsvSourceToValueSource by @timtebeek in #1244
  • Only use hasSameSizeAs in SimplifyHasSizeAssertion when the assert type has a matching overload by @timtebeek in #1243
  • Only collapse the JRE range of the visited method in MinimumJreConditions by @timtebeek in #1242
  • Preserve comments before collapsed AssertJ chains by @martinfrancois in #1096
  • Respect composed JUnit test templates by @martinfrancois in #1093
  • Keep @Timeout attributes and only convert whole minutes in ImplausibleTimeoutToMinutes by @tashen247 in #1245
  • Find test classes without tests by @Jammy-Louie in #1205
  • Preserve inherited lifecycle method visibility in TestsShouldNotBePublic by @jkschneider in #1247
  • Preserve public test fixtures referenced from other packages by @jkschneider in #1248

New Contributors

Full Changelog: v3.49.1...v3.50.0

v3.49.1

Choose a tag to compare

@sambsnyd sambsnyd released this 19 Oct 17:17
143951e

What's Changed

  • WireMock 4 migration: move Jetty EE10 to EE11 and bump to 4.0.0-beta.40 by @sullis in #1184
  • Add mockito-junit-jupiter when PowerMockRunner becomes MockitoExtension by @timtebeek in #1185
  • Override a Spring Boot BOM-managed Mockito when replacing PowerMock by @timtebeek in #1186
  • Keep WireMockRule used as a server a WireMockServer; port() to getPort() by @timtebeek in #1187
  • Expect blank line before static imports after whenNew migration by @timtebeek in #1192
  • Test on Java 21 and 25 through additional_test_java_versions by @timtebeek in #1194
  • Match Mockito and JUnit code by type, and format only what changes by @jkschneider in #1195
  • Give the when(instance) call built inside the replaced call ids of its own by @jkschneider in #1196
  • Declare what templates name and build trees as the parser does by @jkschneider in #1197
  • Pin Datafaker to 1.x when migrating from Java Faker by @timtebeek in #1199
  • Bump wiremock-core parser classpath and keep the class prefix when removing PowerMock runners by @timtebeek in #1201

Full Changelog: v3.49.0...v3.49.1

3.49.0

Choose a tag to compare

@bryceatmoderne bryceatmoderne released this 09 Oct 20:39
f05953a

What's Changed

  • Run the full Cucumber-JVM 7.x upgrade from JUnit4to5Migration by @timtebeek in #1181
  • Upgrade WireMock to the latest 2.x in JUnit4to5Migration by @timtebeek in #1182

Full Changelog: v3.48.2...v3.49.0

3.48.2

Choose a tag to compare

@greg-at-moderne greg-at-moderne released this 09 Oct 12:04
95cb51a

What's Changed

Full Changelog: v3.48.1...v3.48.2

v3.48.1

Choose a tag to compare

@timtebeek timtebeek released this 08 Oct 17:19
eaabc1d

What's Changed

  • Run the Cucumber JUnit Platform suite migration from JUnit4to5Migration by @timtebeek in #1178

Full Changelog: v3.48.0...v3.48.1