Skip to content
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

migrate from JUnit 4 to JUnit 5 #1338

Merged
merged 8 commits into from Oct 14, 2022
Merged

migrate from JUnit 4 to JUnit 5 #1338

merged 8 commits into from Oct 14, 2022

Conversation

sullis
Copy link
Contributor

@sullis sullis commented Oct 14, 2022

This migration was accomplished using the OpenRewrite JUnit 5 recipe.

activeRecipe("org.openrewrite.java.testing.junit5.JUnit5BestPractices")

The recipe was applied by running this Gradle command:

./gradlew clean rewriteRun

Reference:
https://docs.openrewrite.org

Copy link
Contributor

@gavinbunney gavinbunney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming this works - awesome! One question around formatting otherwise 🚀

@sullis
Copy link
Contributor Author

sullis commented Oct 14, 2022

Assuming this works - awesome! One question around formatting otherwise 🚀

Fun fact about OpenRewrite: it was originally created at Netflix. It was initially published as a Netflix OSS project:
https://github.com/Netflix-Skunkworks/rewrite

The rewrite project was later reborn as OpenRewrite:
https://docs.openrewrite.org

@sullis sullis merged commit ab4a83f into Netflix:master Oct 14, 2022
@sullis sullis deleted the junit5 branch October 14, 2022 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants