Releases: openrewrite/rewrite-testing-frameworks
Releases · openrewrite/rewrite-testing-frameworks
3.10.0
What's Changed
- ExpectedExceptionToAssertThrows: Handle branching and var usage in except methods by @amishra-u in #721
- xmlunit 2.10.2 by @greg-at-moderne in #737
- Fix for Assertions.assertDoesNotThrow generator by @arodionov in #735
- Recipe for closing unclosed static mocks by @amishra-u in #739
Full Changelog: v3.9.0...v3.10.0
v3.9.0
What's Changed
- Fix TemporaryFolderToTempDir: Don't add methods to unrelated classes by @amishra-u in #722
- Fix import ambiguity regression by reordering AddImport/RemoveImport by @amishra-u in #731
- ReplaceInitMockToOpenMock: Ensure unique name for added tearDown method by @amishra-u in #725
- Added support for generic instanceof checks in
AssertTrueInstanceofToAssertInstanceOf
recipe by @JohannisK in #734
Full Changelog: v3.8.0...v3.9.0
3.8.0
What's Changed
- refactor: OpenRewrite Recipe best practices by @timtebeek in #712
- Fix Import of Mockito classes in MockitoRuleToExtension recipe by @amishra-u in #715
- Resolve failing tests by @timtebeek in #716
- Fix exception handling in ReplaceInitMockito recipe by @amishra-u in #719
- Fix Incorrect Migration of TemporaryFolder.newFile in TemporaryFolderToTmpDir Recipe by @amishra-u in #714
- Fix JunitParams to Parameterized by recursively updating referenced method to static by @amishra-u in #717
- Utilize MockitoJUnitRunnerToExtension for UseMockitoExtension by @amishra-u in #711
- Fix ParameterizedRunnerToParameterized: Remove redundant super call by @amishra-u in #718
- Handle non-@rule TemporaryFolder fields by @amishra-u in #720
Full Changelog: v3.7.0...v3.8.0
3.7.0
What's Changed
- Convert JUnit AssertThrows with description message over to AssertJ by @lewisbirks in #699
- Recipe to remove initMocks if specified JUnit runners by @arodionov in #695
- Adding stale workflow by @greg-at-moderne in #701
- Convert JUnit AssertThrows with assigment over to AssertJ by @lewisbirks in #702
- Adopt AssertJ NumberAssert by @JohannisK in #698
- Fix doc typo in SimplifyAssertJAssertion by @stefanodallapalma in #704
- Fix: Don't modify regular test to parameterized test incorrectly by @amishra-u in #707
- Add support for CsvSource migration by @amishra-u in #706
- Fix ParameterizedRunnerToParameterized recipe: Preserve field-dependent setup logic by @amishra-u in #708
- Recipe to replace
initMocks
withopenMocks
by @arodionov in #700 - Implement MockitoJUnitRunner to Extension Recipe by @amishra-u in #709
- Add support to migrate EnvironmentVariables TestRule by @amishra-u in #705
New Contributors
- @lewisbirks made their first contribution in #699
- @stefanodallapalma made their first contribution in #704
- @amishra-u made their first contribution in #707
Full Changelog: v3.6.1...v3.7.0
3.6.1
Full Changelog: v3.6.0...v3.6.1
3.6.0
What's Changed
- Fest 2.x to AssertJ by @JohannisK in #688
- Replace AssertJ's
hasSize
withhasSameSizeAs
where applicable by @arodionov in #690 - Increase heap size for tests by @knutwannheden in #692
- Do not
ChangeMethodTargetToStatic
for AssertJ'sAssertionsFor...Types
by @timtebeek in #693 - Update MSAL by @MBoegers in #694
- Recipe to replace @rule Timeout to JUnit 5 Timeout annotation by @arodionov in #691
New Contributors
- @JohannisK made their first contribution in #688
- @arodionov made their first contribution in #690
Full Changelog: v3.5.0...v3.6.0
3.5.1
What's Changed
- OpenRewrite v8.49.0: https://github.com/openrewrite/rewrite
Full Changelog: https://github.com/openrewrite/rewrite-testing-frameworks
3.5.0
What's Changed
- Retain Mockito Kotlin
whenever
as needed by @timtebeek in #681 - Refactor GradleUseJunitJupiter by @jevanlingen in #682
- MockitoWhenOnStaticToMockStatic improvements by @jevanlingen in #678
- ReplacePowerMockito to support
PowerMockito.whenNew
constructor mocking - the simplest case by @greg-at-moderne in #684 - Move testcontainers into TypeTable by @timtebeek in #685
- Supporting arguments in PowerMockitoWhenNewToMockito by @greg-at-moderne in #686
New Contributors
- @greg-at-moderne made their first contribution in #684
Full Changelog: v3.4.0...v3.5.0
3.4.0
What's Changed
- Fix final field
@InjectMock
recipe by @nielsdebruin in #679
Full Changelog: v3.3.0...v3.4.0
3.3.0
What's Changed
- No
@Nested
for inner composed annotation by @rob-valor in #674 - Adopt TypeTable by @timtebeek in #676
New Contributors
- @rob-valor made their first contribution in #674
Full Changelog: v3.2.0...v3.3.0