Skip to content

Releases: openrewrite/rewrite-testing-frameworks

1.37.0

20 Apr 23:47
b86ddfd
Compare
Choose a tag to compare

What's Changed

  • Update with rewrite 7.40.0
  • Further improvements to replace powermockito method calls by mockito by @klauerm in #315
  • Support member references in AssertJ assertThrows by @Meijuh in #330
  • Add test that generated invalid code by @Meijuh in #331

New Contributors

Full Changelog: v1.36.0...v1.37.0

1.36.0

04 Apr 08:34
Compare
Choose a tag to compare

What's Changed

  • Update with Rewrite 7.39.1
  • Drop Cucumber JVM recipes by @timtebeek in #322
  • Adjusting AddDependency invocations to set acceptTransitive=true, mat… by @nmck257 in #323
  • verifyNoInteractions should not be removed by @tmontovaneli in #324
  • refactor: Testing best practices by @timtebeek in #326
  • adjusted usages of UsesType for includeImplicit by @nmck257 in #328

New Contributors

Full Changelog: v1.35.0...v1.36.0

1.35.0

15 Mar 01:59
Compare
Choose a tag to compare

What's Changed

  • Update with rewrite 7.38.0
  • Retain interface public modifier by @timtebeek in #317
  • Replace Mockito 1.x any(Class) and anyString() with nullable(Class) by @timtebeek in #320

Full Changelog: v1.34.0...v1.35.0

1.34.0

16 Feb 03:50
Compare
Choose a tag to compare

What's Changed

  • Update with rewrite 7.36.0
  • Added recipe for size by @pibizza in #302
  • Fixed NPE in TestsShouldNotBePublic by @nmck257 in #303
  • Add BDDMockito methods to the MOCKITO_METHOD_NAMES by @rrvk in #307
  • refactor: Update OWASP suppression date bounds by @sjungling in #310
  • Fix missing constructor types in tests by @timtebeek in #313
  • Improvement of Replace PowerMockito with Mockito static mocking by @klauerm in #312

New Contributors

Full Changelog: v1.33.0...v1.34.0

1.33.0

20 Jan 02:03
1088067
Compare
Choose a tag to compare

What's Changed

  • JUnit 5 migration now removes surefire-junit plugins by @nmck257 in #290
  • fix abstract class logic in TestsShouldNotBePublic by @sullis in #294
  • Adding a recipe to simplify assertj assertions with contains by @pibizza in #299

New Contributors

Full Changelog: v1.32.0...v1.33.0

1.32.0

10 Dec 03:14
f51d73b
Compare
Choose a tag to compare

What's Changed

  • Update with OpenRewrite 7.34.0
  • Fix some framework names and typos by @Bananeweizen in #283
  • Fixed ClassCastExceptions in certain cases for AssertTrueEqualsToAssertEquals and AssertFalseEqualsToAssertNotEquals by @nmck257 in #287
  • Added TestsShouldNotBePublic to JUnit5BestPractices, and added BeforeAll/AfterAll to TestsShouldNotBePublic scope by @nmck257 in #286
  • chore: update suppressions for new false positives by @natedanner in #289

New Contributors

Full Changelog: v1.31.0...v1.32.0

1.31.0

17 Nov 02:21
4ab1ce8
Compare
Choose a tag to compare

What's Changed

  • Updated with rewrite 7.33.0
  • Error when org.junit.Test import is left dangling ba96cce
  • Remove unused org.junit.Test imports 8b408ea
  • Remove used org.junit.Test in javadocs imports 3c0fc64
  • Fix WiremockExtension instantiation with no arguments 6d834a1
  • Replace JUnit @test when it is fully qualified by @jkschneider in #272
  • Fix rendering of markup when org.junit.Test is not migrated 0270dee
  • Should not use equals when comparing object identity by @vandeven in #274
  • Reduce static state in TemporaryFolderToTempDir 1299970
  • Add AssertionsArgumentOrder recipe for RSPEC-3415. (issue #275) by @pway99 in #277
  • Fix potential ClassCastExceptions in assertion cleanup recipes 2e0b5c7
  • Update AssertionsArgumentOrder with duration and single-source-applicability test 7baf4cd
  • Replace JUnitParamsRunnerToParameterized and ParameterizedRunnerToParameterized JavaTemplate JavaParser stubs with junit-jupiter-params classpath reference. 4ad6d41
  • Replace Jupiter-Assertion and Hamcrest stubs with classpath references. 9cb1fbf
  • Bump Maven Surefire & Failsafe to at least 2.22.0 when running JUnit Jupiter #279
  • Fix: address descriptions failure by @zieka in #281

New Contributors

Full Changelog: v1.30.0...v1.31.0

1.30.0

20 Oct 01:14
6ceb2fa
Compare
Choose a tag to compare

What's Changed

  • Upgraded with rewrite 7.32.0
  • Add CucumberAnnotationToSuiteTest by @timtebeek 50ba449
  • UpgradeDependencyVersion for io.cucumber:* to 7.x by @timtebeek in #270
  • Avoid even more special characters to avoid alternative text expressions by @timtebeek #269
  • chore: suppress jackson-databind by @natedanner #271
  • Use glob expression when updating mockito dependencies by @tkvangorder cb41db9
  • Replace AssertJAssertions JavaTemplate JavaParser stubs with assertj-core classpath reference by @pway99 13e6e87 59a3077
  • Update CleanupMockitoImports to use TypeUtils#isWellFormedType for finding mockito method invocations having invalid type information by @pway99 84f4145
  • CleanUpMockitoImportsTest RewriteTest conversion by @pway99 12d86a5

New Contributors

Full Changelog: v.1.29.0...v1.30.0

1.29.0

11 Oct 01:27
Compare
Choose a tag to compare

What's Changed

  • Use rewrite 7.31.0
  • Convert Cucumber-Java8 Steps & Hooks to Cucumber-Java by @timtebeek #262
  • Drop SummaryPrinter #264 by @timtebeek #266
  • Fix TestsShouldNotBePublicTest 834aa35
  • Fix JUnitParamsRunnerToParameterized compile error 0df9047

Full Changelog: v1.27.0...v.1.29.0

1.28.0

22 Sep 20:42
Compare
Choose a tag to compare

Enhancements

  • Updated to use rewrite 7.30.0