Releases: openrewrite/rewrite-testing-frameworks
Releases · openrewrite/rewrite-testing-frameworks
1.11.0
Enhancements:
- Updated with rewrite 7.12.0
- Re-enable
AddDependency
recipes.
Fixes:
- Corrected a nested recipe name in the AssertJ composite recipe
1.10.0
Enhancements:
Fixes:
- TestRuleToTestInfo adds initialization statements to the end of @beforeeach function when it needs to be at the beginning #167
1.9.0
1.8.0
1.7.1
Enhancements:
- Updated with rewrite 7.8.1
1.7.0
Enhancements:
- Updated with rewrite 7.8.0
- A new recipe to remove public modifiers of JUnit5 test classes #158
Fixes:
- Hamcrest & Mockito dependencies are now added only to test scope. 949d282
- TestsShouldIncludeAssertions templating issue f97e0b6
- TemporaryFolderToTempDir was creating code that was not correctly type attributed #150
- ExpectedException#expectMessage is not properly converted to JUnit 5 #153
- ParameterizedRunnerToParameterized class cast exception #152
- Fix formatting in visitors that remove annotations fbb2715
1.6.0
Enhancements:
- Update with rewrite core libraries 7.7.0
Fixes:
- Wrong receiver type on hamcrest method after JUnit 4 -> 5 migration #145
- TemporaryFolderToTempDir does not preserve field modifiers #143
- TemporaryFolderToTempDir JavaTemplate error when translating new file method invocation #142
- ExpectedExceptionToAssertThrows. Fix assertThrows template by using the
any
keyword for the TypedTree exception class parameter and adding MultipleFailuresError to the JupiterAssertions shim. 8f7842b - Fix AssertToAssertions, rather than Changing type of all junit.Assert leverage ChangeMethodTargetToStatic for applicable types. f7923c8
- TemporaryFolderToTempDir updates to ensure all org.junit.rules types are converted and not added to the
TypeCache
. 64aaf80 - Fix CleanupMockitoImports so that it doesn't remove or re-order non-mockito imports 8cd3e75
1.5.0
1.4.0
1.3.1
v1.3.1 Remove FindMethods from AddHamcrestIfUsed since AddDependency is now …