-
Notifications
You must be signed in to change notification settings - Fork 102
Comparing changes
Open a pull request
base repository: openrewrite/rewrite-testing-frameworks
base: v3.29.0
head repository: openrewrite/rewrite-testing-frameworks
compare: v3.30.0
- 8 commits
- 16 files changed
- 5 contributors
Commits on Mar 9, 2026
-
OpenRewrite recipe best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d5852e - Browse repository at this point
Copy the full SHA 6d5852eView commit details -
Use
FindImportsand dependency-aware framework detection in `Replac……eMockitoTestExecutionListener` (#925) * Use FindImports for test framework detection in ReplaceMockitoTestExecutionListener Replace manual import loop in detectFramework() with FindImports search visitors for cleaner, more idiomatic framework detection. * Check JUnit 4 imports before TestNG to match original priority order * Add dependency-aware framework detection via targetFramework option Add a targetFramework @option that YAML wrapper recipes set based on ModuleHasDependency preconditions. Import-based detection still takes priority; the option is a fallback for files with no framework imports. Three YAML wrapper recipes gate on JUnit 5, JUnit 4, and TestNG dependencies respectively, replacing the single bare reference in Mockito1to3Migration. * Simplify JUnit 4 import detection to single FindImports pattern Since JUnit 5 (org.junit.jupiter..*) is matched first, any remaining org.junit..* import is necessarily JUnit 4. * Use `valid = {"jupiter", "junit4", "testng"}` * Use same naming in precondition guarded recipes --------- Co-authored-by: Tim te Beek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8654451 - Browse repository at this point
Copy the full SHA 8654451View commit details -
Align targetFramework switch case with @option valid values (#928)
The switch on `targetFramework` used `"junit5"` but the `@Option` annotation declared valid values as `"jupiter"`, `"junit4"`, `"testng"`, and the YAML wrapper recipes already passed `targetFramework: jupiter`. This mismatch meant the Jupiter fallback path was unreachable. Regenerated recipes.csv.
Configuration menu - View commit details
-
Copy full SHA for 92a9ca4 - Browse repository at this point
Copy the full SHA 92a9ca4View commit details
Commits on Mar 10, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 467ab04 - Browse repository at this point
Copy the full SHA 467ab04View commit details
Commits on Mar 11, 2026
-
OpenRewrite recipe best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40bd3da - Browse repository at this point
Copy the full SHA 40bd3daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08296c5 - Browse repository at this point
Copy the full SHA 08296c5View commit details -
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.migrate.lombok.LombokBestPractices?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c789ee8 - Browse repository at this point
Copy the full SHA c789ee8View commit details -
Fix JUnit5MigrationTest.addMockitoJupiterDependencyIfExtendWithPresent (
#931) The upstream AddDependency recipe now correctly scopes onlyIfUsing checks to match the dependency's scope. Test-scoped dependencies are only added when the usage is detected in test sources, so move the test class from main sources to test sources. Co-authored-by: Tim te Beek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a24e73 - Browse repository at this point
Copy the full SHA 5a24e73View 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.29.0...v3.30.0