Releases: openrewrite/rewrite-testing-frameworks
Releases · openrewrite/rewrite-testing-frameworks
3.23.0
What's Changed
- Add
@ExtendWith(MockitoExtension.class)Test using Mockito Annotations by @MBoegers in #848 - Add troubleshooting context info when ParseError encountered in
GradleUseJunitJupiterby @greg-at-moderne in #852 - Fix/850 testcontainers2 migration only springboot4 by @Thomas-Iapichino in #854
- Fixed the expectation to be correctly spaced + formatted args by @Jenson3210 in #855
- Simplify redundant AssertJ chains of
hasSizeandcontainsExactlyby @timtebeek in #857 - Simplify AssertJ
stream().map(Function)toextracting(Function)by @timtebeek in #856 AssertThrowsOnLastStatement: Support calls with lambda parameters by @knutwannheden in #859- Fix bugs in
HamcrestMatcherToAssertJandHamcrestIsMatcherToAssertJby @knutwannheden in #863 HamcrestMatcherToAssertJ:isNull()andisNotNull()take no args by @knutwannheden in #864- Fix variable name conflict in JMockit to Mockito migration by @knutwannheden in #865
New Contributors
- @Thomas-Iapichino made their first contribution in #854
Full Changelog: v3.22.0...v3.23.0
3.22.0
v3.21.3
What's Changed
- fix: add Mockito.anyObject() alias to Mockito 1-to-3 migration by @rshvashisht in #842
- Add
guava-33type table entry forAssertJIterableRulesRecipesfrom EPS by @timtebeek in #843 - Convert Testcontainers
@Rule/@ClassRuleto JUnit 5@Containerand add@Testcontainersby @jc65536 in #838
New Contributors
- @rshvashisht made their first contribution in #842
- @jc65536 made their first contribution in #838
Full Changelog: v3.21.2...v3.21.3
v3.21.2
What's Changed
- Depend on rewrite-third-party for the type table entries by @timtebeek in #841
Full Changelog: v3.21.1...v3.21.2
v3.21.1
What's Changed
- Add JUnit 6 type table entries by @timtebeek in #839
Full Changelog: v3.21.0...v3.21.1
3.21.0
What's Changed
- OpenRewrite recipe best practices by @timtebeek in #834
- Gradle 9.2.0 by @timtebeek in #836
- Add recipe to simplify AssertJ SequencedCollection assertions by @timtebeek in #837
Full Changelog: v3.20.0...v3.21.0
3.20.0
What's Changed
- Change dependencies and types for testcontainers v2 by @sullis in #830
- Additional Testcontainers 2.0.x recipes by @eddumelendez in #832
- Upgrade testcontainers for the JUnit 5 migration by @timtebeek in #833
New Contributors
- @eddumelendez made their first contribution in #832
Full Changelog: v3.19.0...v3.20.0
3.19.0
What's Changed
- Update recipe documentation examples by @timtebeek in #827
- Update documentation examples by @timtebeek in #829
- Separate best practices for JUnit 5, JUnit 6 and Jupiter by @timtebeek in #828
Full Changelog: v3.18.0...v3.19.0
v3.18.0
What's Changed
- Google Truth to AssertJ migration by @timtebeek in #819
- Migrate Byteman on JUnit 4 to JUnit 5 using
WithBytemanby @marcosgopen in #818 - Add JUnit 5.14 migration recipes for deprecated APIs by @timtebeek in #820
- truth migration adds assertj-core by @sullis in #822
- Add missing JUnit 6 migration recipes by @timtebeek in #823
- remove dependency: google truth by @sullis in #821
- OpenRewrite recipe best practices by @timtebeek in #825
- Various JMockit fixes by @knutwannheden in #824
- Fixing bug in
MockitoWhenOnStaticToMockStaticrelated to originally not using the FQN of the class when detecting it from awhen(X.y())style usage. by @steve-aom-elliott in #826
New Contributors
- @marcosgopen made their first contribution in #818
Full Changelog: v3.17.0...v3.18.0
3.17.0
What's Changed
- Adjusting recognition of floats and doubles with regards to AssertJ assertions, given
JavaTemplate.Matcherchanges around matchingX.0style numbers. by @steve-aom-elliott in #816 - Create test type table for formerly included jars by @timtebeek in #817
Full Changelog: v3.16.3...v3.17.0