Releases: openrewrite/rewrite-testing-frameworks
Releases · openrewrite/rewrite-testing-frameworks
1.25.0
Fixes
- Only replace assertTrue(x.equals(...)) if equals has a single argument by @timtebeek in #239
Full Changelog: v1.24.0...v1.25.0
1.24.0
Enhancements
- Updated to use rewrite 7.25.0
- Added EnclosedToNested recipe for JUnit4 to JUnit5 migration by @nmck257 in #233
- Composed existing JUnit5 assertion cleanup recipes into a well-ordere… by @nmck257 in #232
New Contributors
Full Changelog: v1.23.1...v1.24.0
1.23.1
1.23.0
Enhancements
- Updated to use rewrite 7.24.0
Fixes
- Guard CleanupMockitoImports against removing static imports associated with MethodInvocations having null or unknown type information. #228
Full Changelog: v1.22.0...v1.23.0
1.22.0
1.21.0
1.20.2
Enhancements
- Updated to use rewrite 7.21.3
1.20.1
Enhancements
- Updated to use rewrite 7.21.1
1.20.0
Enhancements
- New Recipe: Add recipe to transform assertEquals(a, null) to assertNull(a) #200
- New Recipe: Replace JUnit
assertFalse(a == null)toassertNotNull(a)#202 - New Recipe: Replace JUnit
assertTrue(a == null)toassertNull(a)#202 - New Recipe: Replace JUnit
assertFalse(a.equals(b))toassertNotEquals(a,b)#207 - New Recipe: Replace JUnit
assertTrue(a.equals(b))toassertEquals(a,b)#207 - New Recipe: Replace JUnit
assertFalse(!<boolean>)toassertTrue(<boolean>)#205 - New Recipe: Replace JUnit
assertTrue(!<boolean>)toassertFalse(<boolean>)#205 - New Recipe: Replace Junit
assertTrue(a == b)toassertEquals(a,b)#204
Fixes
- JUnit4to5Migration should map VertxUnitRunner to VertxExtension #198
Contributors:
@yeikel #200 #202 #204 #205 #207
Full Changelog: v1.19.0...v1.20.0
1.19.0
What's Changed
- Updated with rewrite version 7.20.0
- Update
UpdateTestAnnotationto convert expected exceptionTest.NonetoassertDoesNotThrow#191 - Remove
junit-vintage-enginedependency as part of theJUnit4to5Migration#192
Full Changelog: v1.18.0...v1.19.0