Releases: openrewrite/rewrite-testing-frameworks
Releases · openrewrite/rewrite-testing-frameworks
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
v3.16.3
What's Changed
- Rename
src/main/resources/META-INF/rewrite/classpath.tsv.gzby @timtebeek in #807 UseXMLUnitLegacyTestto expect xmlunit 2.10.4 by @greg-at-moderne in #809- Add reproductions for bugs in handling Javadoc links and JUnit5 upgrade by @pantherdd in #806
- Update type tables via
./gradlew createTypeTableby @Jenson3210 in #808
New Contributors
- @pantherdd made their first contribution in #806
Full Changelog: v3.16.1...v3.16.3
3.16.2
What's Changed
- OpenRewrite v8.62.0: https://github.com/openrewrite/rewrite
Full Changelog: https://github.com/openrewrite/rewrite-testing-frameworks
3.16.1
What's Changed
- No try staticMocking when field is already statically mocked for
MockitoWhenOnStaticToMockStaticby @Jenson3210 in #798 - Adding support for recognizing instantiation of mocked static in TestNG-related
@BeforeMethodand@BeforeClassannotated methods forMockitoWhenOnStaticToMockStaticby @steve-aom-elliott in #799 - Verify that junit vintage engine is removed by @sullis in #801
- Removed redundant checks and added support for JUnit 5 annotations for
MockitoWhenOnStaticToMockStaticby @steve-aom-elliott in #800 - Simplify redundant AssertJ chains by @timtebeek in #802
- Collapse assertions after conversion by @timtebeek in #805
Full Changelog: v3.16.0...v3.16.1
3.16.0
What's Changed
- Use
@ValueSourceinstead of@CsvSourcewhere there's a single arg by @timtebeek in #797 - Adapt
@EnabledOnJre,@DisabledOnJre,@EnabledForJreRangeand@DisabledForJreRangefor JUnit 6's Java 17 minimum by @Jenson3210 in #795
Full Changelog: v3.15.1...v3.16.0
v3.15.1
What's Changed
- Update with rewrite 8.60.2
- Add
TestMethodsShouldBeVoidrecipe to fix tests not discovered by @timtebeek in #791 - Recipes to migrate from JUnit 5 to JUnit 6 by @Jenson3210 in #792
- Remove lineSeparator annotation attribute by @Jenson3210 in #793
- Use classpath from resource for Refaster by @jevanlingen in #794
- Add
JUnitTryFailToAssertThatThrownByby @timtebeek in #781 - JUnit5BestPractices - Upgrade mockwebserver3-junit5 to 5.1.0 version by @philippe-granet in #796
Full Changelog: v3.15.0...v3.15.1
3.15.0
What's Changed
- Include additional AssertJ migrations by @timtebeek in #773
- Include recipes in larger composites where possible by @timtebeek in #774
- Retain comments when chaining assertions by @timtebeek in #775
- refactor: Static imports for Collections and Collectors by @timtebeek in #779
- Added implementation to extract any expression arguments from last statement in assertThrows by @JohannisK in #724
- Don't clean up mockito imports for Kotlin by @jevanlingen in #782
- Adding dependency guards to the Junit 4 -> 5 migration for when the POM or build.gradle have a dependency on
org.testng:testng. by @steve-aom-elliott in #760 - rename settings.local.json to settings.json by @zieka in #783
- Fix ClassCastException in PowerMockitoWhenNewToMockito by @timtebeek in #786
- MockitoJUnitRunnerToExtension: Handle existing MockitoExtension by @amishra-u in #788
Full Changelog: v3.14.0...v3.15.0