Skip to content

v3.40.0

Choose a tag to compare

@timtebeek timtebeek released this 21 Jun 20:07
· 179 commits to main since this release
9321cbc

What's Changed

  • TestNgToAssertj: emit a static import for assertThat by @timtebeek in #1033
  • Add SimplifyHasSizeFromIsEqualToAssertion recipe by @timtebeek in #1034
  • Refactor assertThat(x instanceof Type).isTrue() to assertThat(x).isInstanceOf(Type.class) by @timtebeek in #1035
  • Converge AssertJ isSameAs/isNotSameAs(0|1) within a single run by @timtebeek in #1036
  • Simplify AssertJ hasSize(0) to isEmpty() for Iterable by @timtebeek in #1037
  • Fix isSameAs(null) compile error from null reference comparisons by @timtebeek in #1038
  • Cover commented AssertJ tests: array length, Comparable & BigDecimal compareTo by @timtebeek in #1039
  • Recognize meta-annotated test methods in TestsShouldNotBePublic by @timtebeek in #1040
  • Surface implausible JUnit @Timeout values by rewriting them to minutes by @timtebeek in #1041
  • Decompose assertThat(a && b).isTrue() into separate assertions by @timtebeek in #1042
  • Skip JUnit 4 lifecycle annotation when Jupiter equivalent already present by @timtebeek in #1043
  • Convert assertThrows with an Executable variable by @timtebeek in #1046

Full Changelog: v3.39.0...v3.40.0