-
Notifications
You must be signed in to change notification settings - Fork 96
Comparing changes
Open a pull request
base repository: openrewrite/rewrite-testing-frameworks
base: v3.11.0
head repository: openrewrite/rewrite-testing-frameworks
compare: v3.12.0
- 14 commits
- 65 files changed
- 6 contributors
Commits on Jun 25, 2025
-
refactor: Extract documentation examples
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43389e6 - Browse repository at this point
Copy the full SHA 43389e6View commit details
Commits on Jun 26, 2025
-
Fix for JUnit test method throws clause preservation
When transforming `@Test(expected = SomeException.class)` to JUnit 5's `assertThrows()`, the recipe now preserves throws clauses for exceptions other than the one being tested. Changes made: - Modified `UpdateTestAnnotation` to selectively remove only the exception type being tested from the throws clause - Added logic to identify and preserve other declared exceptions in the method signature - Added test case to verify throws clauses are preserved for non-tested exceptions The fix ensures that methods declaring multiple thrown exceptions maintain proper signatures after transformation. Fixes: - #754
Configuration menu - View commit details
-
Copy full SHA for 219c043 - Browse repository at this point
Copy the full SHA 219c043View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13cf750 - Browse repository at this point
Copy the full SHA 13cf750View commit details -
Configuration menu - View commit details
-
Copy full SHA for a436737 - Browse repository at this point
Copy the full SHA a436737View commit details
Commits on Jun 27, 2025
-
refactor: Replace
Arrays.asListwithList.ofin testsUse this link to re-run the recipe: https://app.moderne.io/builder/j1pfpwnjZ?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 50758af - Browse repository at this point
Copy the full SHA 50758afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2aa7b - Browse repository at this point
Copy the full SHA 2f2aa7bView commit details
Commits on Jul 2, 2025
-
refactor: org.openrewrite.mavencentral (#756)
Use this link to re-run the recipe: https://app.moderne.io/builder/zYwEKw0Gm?organizationId=QUxML09wZW4gU291cmNlL09wZW5SZXdyaXRl Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb6badc - Browse repository at this point
Copy the full SHA cb6badcView commit details
Commits on Jul 4, 2025
-
refactor: Update Gradle wrapper
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.gradle.UpdateGradleWrapper?organizationId=QUxML09wZW4gU291cmNlL09wZW5SZXdyaXRl#defaults%3DW3sidmFsdWUiOmZhbHNlLCJuYW1lIjoiYWRkSWZNaXNzaW5nIn1d Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9cc2f2 - Browse repository at this point
Copy the full SHA c9cc2f2View commit details -
TestsShouldIncludeAssertions should not remove body for Kotlin (#757)
* TestsShouldIncludeAssertions should not remove body for Kotlin * Exclude kotlin tests for now with `TestsShouldIncludeAssertions`
Configuration menu - View commit details
-
Copy full SHA for 66e9375 - Browse repository at this point
Copy the full SHA 66e9375View commit details
Commits on Jul 5, 2025
-
Avoid
-SNAPSHOTversions of JUnit 5.+Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.text.FindAndReplace?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw#defaults%3DW3sibmFtZSI6ImZpbmQiLCJ2YWx1ZSI6Imp1bml0LWp1cGl0ZXItZW5naW5lOjUuKyJ9LHsibmFtZSI6InJlcGxhY2UiLCJ2YWx1ZSI6Imp1bml0LWp1cGl0ZXItZW5naW5lOjUuMTMuMyJ9LHsibmFtZSI6ImZpbGVQYXR0ZXJuIiwidmFsdWUiOiIqKi9idWlsZC5ncmFkbGUua3RzIn1d Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 88cbde4 - Browse repository at this point
Copy the full SHA 88cbde4View commit details -
Remove
@InjectMocksfrom initialized fields (#758)* Remove `@InjectMocks` from initialized fields Fixes #740 * Codify new approach based on initializer value * Apply suggestion * Remove final modifier where necessary
Configuration menu - View commit details
-
Copy full SHA for 79e3b3f - Browse repository at this point
Copy the full SHA 79e3b3fView commit details
Commits on Jul 6, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 5167a4c - Browse repository at this point
Copy the full SHA 5167a4cView commit details
Commits on Jul 8, 2025
-
refactor: OpenRewrite Recipe best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=QUxML09wZW4gU291cmNlL09wZW5SZXdyaXRl Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd6cda4 - Browse repository at this point
Copy the full SHA cd6cda4View commit details
Commits on Jul 9, 2025
-
refactor: Remove redundant null checks before instanceof
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.staticanalysis.RemoveRedundantNullCheckBeforeInstanceof?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7774d58 - Browse repository at this point
Copy the full SHA 7774d58View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.11.0...v3.12.0