-
Notifications
You must be signed in to change notification settings - Fork 182
JUnit Jupiter best practices #988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JUnit Jupiter best practices #988
Conversation
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.testing.junit.JupiterBestPractices?organizationId=YTA5ODhiOTYtNDI5OS00OGY3LTg0NjctNGZiNmI4OTY1ZjY3 Co-authored-by: Moderne <[email protected]>
|
The methods renaming are fine for me, but I'm surprised by the removal of the Should we rerun the recipe, but without the removal of Same comment applies to apache/maven-jar-plugin#489, apache/maven-clean-plugin#279 and apache/maven-resources-plugin#427. |
|
Most of JUnit 5 tests are written without So if it will be a problem maybe we need discuss with JUnit team ...? |
|
Actually their guide already raised my point:
Removing |
Agree. |
|
Thanks for the feedback - hope that Maven will be soon modularized and also support plugin modules. |
|
Full module support indeed require change to the surefire plugin. The state of plugins is documented there: https://cwiki.apache.org/confluence/display/MAVEN/Full+Java+Modules+Support+-+Current+State Note that there is nothing wrong about executing the recipes now. The comment was only about the |
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.testing.junit.JupiterBestPractices?organizationId=YTA5ODhiOTYtNDI5OS00OGY3LTg0NjctNGZiNmI4OTY1ZjY3