Releases: openrewrite/rewrite-testing-frameworks
Releases · openrewrite/rewrite-testing-frameworks
2.1.2
What's Changed
- Rewrite testcontainers to use explicit image and version by @timtebeek in #433
- refactor: Update Gradle wrapper to 8.5 by @timtebeek in #437
Full Changelog: v2.1.1...v2.1.2
2.1.1
What's Changed
- Don't remove
mockStatic()calls in resources of try-with-resources by @knutwannheden in #426 - Replace Hamcrest CoreMatchers as well using wildcards by @timtebeek in #425
- Fixes broken testcontainer dependencies after JUnit4to5Migration by @simonzn in #430
- feature: ArchUnit 0.x to 1.x migration by @SimonVerhoeven in #432
New Contributors
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- Update with rewrite 8.9.0
- JMockit to Mockito Recipe - Handle Argument Matchers and Void Methods by @tinder-dthomson in #419
- JMockit to Mockito Recipe - Handle Typed Class Argument Matching and Collections by @tinder-dthomson in #420
- Remove test prefix with JUnit best practices by @timtebeek in #424
Full Changelog: v2.0.13...v2.1.0
v2.0.13
What's Changed
- JMockit to Mockito Migration Recipe - Rewrite Expectations Block by @tinder-dthomson in #415
- feat: add mockito dependency if needed by @SimonVerhoeven in #416
- Refactor
assertEquals(<boolean-literal>, …)andassertNotEquals(<boolean-literal>, …)toassertTrueorassertFalseby @ammachado in #417 - Jmockit Expectations - Handle Additional Cases by @tinder-dthomson in #418
New Contributors
- @tinder-dthomson made their first contribution in #415
- @ammachado made their first contribution in #417
Full Changelog: v2.0.12...v2.0.13
v2.0.12
What's Changed
- Adopt AssertJ duration assertions by @AlekSimpson in #401
- Bugfix/358 powermock by @nmck257 in #409
- fix: update used FindImports constructor to not match inherited by @SimonVerhoeven in #411
New Contributors
- @SimonVerhoeven made their first contribution in #411
Full Changelog: v2.0.11...v2.0.12
2.0.11
v2.0.10
What's Changed
- Update with rewrite 8.4.0
- Resolve issues with SimplifyChainedAssertJAssertion by @AlekSimpson in #399
Full Changelog: v2.0.9...v2.0.10
2.0.9
What's Changed
- Fix problem with incorrectly removed Mockito imports by @wakingrufus in #393
- Simplify chained AssertJ assertions by @AlekSimpson in #385
- support for
allOfhamcrest matcher by @AlekSimpson in #396
New Contributors
- @wakingrufus made their first contribution in #393
Full Changelog: v2.0.8...v2.0.9
2.0.8
What's Changed
- Restore now Scanning AnyToNullable, as it does not affect Mockito 2+ by @timtebeek in #380
- Hamcrest Array assertion migrations to AssertJ by @AlekSimpson in #381
- Remove try catch fail blocks should be selectively applied by @AlekSimpson in #382
- Migrate assertEquals with array parameter to assertArrayEquals by @puskarpeter in #384
- Flatten Hamcrest assertThat allOf by @timtebeek in #375
- Replace Hamcrest
iswith AssertJ by @timtebeek in #388 - Reduce duplication and migrate closeTo with three arguments by @timtebeek in #389
- Use xmlunit-legacy instead of xmlunit by @puskarpeter in #386
- Hamcrest to AssertJ dependency tests by @timtebeek in #390
- Migrate Hamcrest
anyOfmatchers to AssertJsatisfiesAnyOfassertions by @AlekSimpson in #391
New Contributors
- @puskarpeter made their first contribution in #384
Full Changelog: v2.0.7...v2.0.8
2.0.7
What's Changed
- fix: assertj contains is weaker than hamcrests contains by @davidburkhart in #371
- Limit
RemoveIsMatcherto invocations withinassertThatby @AlekSimpson in #374 - removed containsInRelativeOrder from yaml list by @AlekSimpson in #376
- Changed AnyToNullable from declarative to imperative so that it can h… by @nmck257 in #378
- Assert instance of migration by @matusmatokpt in #372
- More Hamcrest Migrations for Number Matchers by @AlekSimpson in #379
- Remove try-catch-fail blocks from unit tests by @AlekSimpson in #370
New Contributors
- @davidburkhart made their first contribution in #371
- @matusmatokpt made their first contribution in #372
Full Changelog: v2.0.5...v2.0.7