Skip to content

Releases: openrewrite/rewrite-testing-frameworks

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

1.27.0

02 Sep 21:15
Compare
Choose a tag to compare

Enhancements

  • Updated to use rewrite 7.29.0

Fixes

  • Do not strip prefix when remainder results in methods such as toString() by @timtebeek in #246
  • Strip test_ prefix from snake cased methods by @timtebeek in #247
  • Update RemoveTestPrefix with a check to prevent renaming a method having the new name exists
  • CleanupMockitoImports now preserves static wildcard import in missing type info case by @nmck257 in #249
  • Add LifecycleNonPrivate for JUnit 5.9.0 (#241) by @timtebeek in #252
  • RewriteTest for TempDir and cleanup unused imports & deprecations by @timtebeek in #253
  • Improved JUnit AssertToAssertions behavior with missing type info by @nmck257 in #250
  • Migrate junit.framework.Assert by @timtebeek in #256
  • Add missing @nested annotation by @timtebeek in #257
  • Add dependency on JUnit Jupiter (Aggregator) only, not api + engine by @timtebeek in #255

Full Changelog: v1.26.0...1.27.0

1.26.1

06 Aug 17:19
c42d091
Compare
Choose a tag to compare

Enhancements

  • Updated to use rewrite 7.27.1

Fixes

  • fix: Avoid reserved keywords when stripping prefix from test methods by @timtebeek in #244
  • Fix NPE by TemporaryFolderToTempDir to use TypeUtils for checking method type 37fb56a

Contributors

Full Changelog: v1.25.0...v1.26.0