Releases: openrewrite/rewrite-testing-frameworks
Releases · openrewrite/rewrite-testing-frameworks
3.11.0
What's Changed
- Drop
contextSensitivefromExpectedExceptionToAssertThrowsby @timtebeek in #741 - CloseUnclosedStaticMocks: Handle Nested class, qualifiedclass name. by @amishra-u in #742
- Include additional AssertJ rules/recipes from Error Prone Support by @timtebeek in #713
- Do not ever exclude junit if Testcontainers is used by @DidierLoiseau in #746
- Migrate Traits class usage to constructor calls by @MBoegers in #747
- testcontainers 1.21.x by @sullis in #750
- refactor: Adopt
J.Literal.isLiteralValue(expression, null)by @timtebeek in #751 - xmlunit 2.10.3 by @greg-at-moderne in #753
New Contributors
- @DidierLoiseau made their first contribution in #746
Full Changelog: v3.10.0...v3.11.0
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
AssertTrueInstanceofToAssertInstanceOfrecipe 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
initMockswithopenMocksby @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
hasSizewithhasSameSizeAswhere applicable by @arodionov in #690 - Increase heap size for tests by @knutwannheden in #692
- Do not
ChangeMethodTargetToStaticfor AssertJ'sAssertionsFor...Typesby @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
wheneveras needed by @timtebeek in #681 - Refactor GradleUseJunitJupiter by @jevanlingen in #682
- MockitoWhenOnStaticToMockStatic improvements by @jevanlingen in #678
- ReplacePowerMockito to support
PowerMockito.whenNewconstructor 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
@InjectMockrecipe by @nielsdebruin in #679
Full Changelog: v3.3.0...v3.4.0