Skip to content

Releases

3.73.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 24 Nov 07:40
2ded408

Full Changelog: v3.72.0...v3.73.0

3.72.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 23 Nov 15:39
2ded408

What's Changed

Full Changelog: v3.71.0...v3.72.0

3.71.0

Choose a tag to compare

@timtebeek timtebeek released this 23 Nov 14:04
d7a1b22

What's Changed

  • Indent JUnitAssertEqualsToAssertThatTest's custom-class test with four spaces by @jkschneider in #1343
  • Indent two AddTestcontainersAnnotationsTest inputs like the rest of the file by @jkschneider in #1344
  • Migrate Hamcrest to AssertJ without leaving Hamcrest behind by @sambsnyd in #1345

Full Changelog: v3.70.0...v3.71.0

3.70.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 20 Nov 05:50
71efc94

What's Changed

  • Migrate static MemberModifier.stub and suppress to Mockito.mockStatic by @timtebeek in #1336
  • Migrate Whitebox and remove PowerMock plumbing when replacing PowerMockito by @timtebeek in #1337
  • Migrate PowerMockito doX stubbing of static calls and constant method names by @timtebeek in #1339
  • Migrate PowerMockito.whenNew with several stubs and verifyNew to Mockito by @timtebeek in #1338
  • Migrate PowerMockito.when by method name and verifyStatic around captors by @timtebeek in #1335
  • Comment out initializers and remove annotations holding PowerMock usage of a disabled class by @krlittle in #1269
  • Do not wrap or widen for Whitebox reflection an enclosing try already catches by @krlittle in #1265
  • Ask Scope where recipes name variables or move code between scopes by @knutwannheden in #1340
  • Shorten fully qualified Java type references by @jkschneider in #1342

Full Changelog: v3.69.0...v3.70.0

3.69.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 19 Nov 08:49
8ec74ac

What's Changed

  • Attribute types on untyped field accesses by @timtebeek in #1327
  • Comment out PowerMock usage that DisableUnsupportedPowerMockTests could not annotate by @timtebeek in #1328
  • Bail out of MockConstructionToTryWithResources for scope and early closes by @timtebeek in #1329
  • Keep declared generic and array types and skip lambda blocks in Whitebox reflection recipes by @timtebeek in #1330
  • Keep doNothing() that overrides an earlier stub in RemoveDoNothingForDefaultMocks by @timtebeek in #1332
  • Bail out of PowerMockitoDoStubbingToMockito for ambiguous private overloads by @timtebeek in #1333
  • Mock the nested class itself in MockitoWhenOnStaticToMockStatic by @timtebeek in #1331
  • Smaller Mockito fixes: array matcher casts, @InjectMocks injection, throws E by @timtebeek in #1334

Full Changelog: v3.68.0...v3.69.0

3.68.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 18 Nov 08:18
93bb21c

What's Changed

  • Add recipe to upgrade Gatling 3.x to 3.16 by @sullis in #1259
  • Keep calls that may throw inside the AssertThrowsOnLastStatement lambda by @timtebeek in #1306
  • Add JUnit 3 to 4 migration recipes by @timtebeek in #1294
  • Type JavaTemplate placeholders whose parameter type the target API fixes by @timtebeek in #1307
  • Scan other files for uses of System Rules fields before migrating them by @timtebeek in #1310
  • Only convert unreferenced @Rule Timeout in TimeoutRuleToClassAnnotation by @timtebeek in #1309
  • Fix TestRuleToTestInfo file-wide @Before rename, dropped parameters and forced spacing by @timtebeek in #1308
  • Fix ExpectedExceptionToAssertThrows name clash, dropped throws and @Before expectations by @timtebeek in #1311
  • Bail out of JUnitParamsRunnerToParameterized for init methods reading instance state by @timtebeek in #1312
  • Add hamcrest-junit only where org.hamcrest.junit is used by @timtebeek in #1314
  • Fix UpdateMockWebServer* multi-rule close, lambda returns and setHttp2ErrorCode mapping by @timtebeek in #1313
  • Fix smaller JUnit 4 migration bugs (B12) by @timtebeek in #1315
  • Use VariableNameUtils for the ExpectedExceptionToAssertThrows exception name by @timtebeek in #1316
  • Prefix JUnitParamsRunnerToParameterized unsupported comment with TODO by @timtebeek in #1317
  • Only record rule-typed fields in the System Rules usage scan by @timtebeek in #1318
  • Remove dead assertj.yml entries and require Simplify*AssertJAssertion options by @timtebeek in #1320
  • Bail out of ReturnActual for wildcard-typed assertThat overloads by @timtebeek in #1324
  • Recognize @ArgumentsSources, @FieldSource and custom sources in AddParameterizedTestAnnotation by @timtebeek in #1323
  • Keep Assertions imports without a Kotlin counterpart in CleanupKotlinJUnit5AssertionImports by @timtebeek in #1322
  • Skip overridden methods and order implied @MethodSource rename in RemoveTestPrefix by @timtebeek in #1321
  • Only retype local and private field Executable in JUnitAssertThrowsToAssertExceptionType by @timtebeek in #1325
  • Flag instead of removing JRE.OTHER in RemoveJreOther by @timtebeek in #1319
  • Fix AssertJ semantics changes of item D8 by @timtebeek in #1326

Full Changelog: v3.67.0...v3.68.0

3.67.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 17 Nov 08:37
2851dec

What's Changed

  • Migrate Groovy TemporaryFolder.root property reads to the TempDir file by @timtebeek in #1304

Full Changelog: v3.66.0...v3.67.0

3.66.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 16 Nov 05:49
a3446ca

What's Changed

Full Changelog: v3.65.0...v3.66.0

3.65.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 15 Nov 10:48
b98a618

Full Changelog: v3.64.0...v3.65.0

3.64.0

Choose a tag to compare

@code-genome-project-ci code-genome-project-ci released this 14 Nov 23:06
b98a618

What's Changed

  • Type the throws UpdateMockWebServer adds to an existing @AfterEach by @knutwannheden in #1298
  • Narrow TypeValidation opt-outs to the checks that need them by @timtebeek in #1299
  • Type the output of CloseUnclosedStaticMocks and the JMockit InOrder rewriter instead of opting out by @timtebeek in #1300
  • Upgrade JUnit Pioneer to 3.x as part of the JUnit 6 migration by @sullis in #1260
  • Cover more WireMock 4 breaking changes in the 3 to 4 migration by @sullis in #1258
  • Raise a version property in a parent pom when the Mockito migrations change mockito-all by @ds-xdev in #1296
  • Remove two more type validation opt-outs, explain the rest by @timtebeek in #1301
  • Replace the removed classpath(byte[]...) call in TestsShouldNotBePublicTest by @knutwannheden in #1302

New Contributors

Full Changelog: v3.63.0...v3.64.0