-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add recipe for migrating Arquillian tests from JUnit 4 to JUnit 5. #652
Comments
I'm seeing some strange things when testing. I'm not seeing the
|
hi @jamezp ! That looks like a decent start already, thanks! Would you mind pushing that up to a draft PR such that I can help troubleshoot the issue you're having? |
Thank you @timtebeek, done #654. It's definitely not complete and I know there are some bugs, but for the most part it seems to be working. I've been testing on https://github.com/wildfly/wildfly-arquillian. This project as some other issues I need to look into like it uses some |
What problem are you trying to solve?
Migrating JUnit 4 Arquillian tests to JUnit 5.
What precondition(s) should be checked before applying this recipe?
None that I'm aware of.
Describe the situation before applying the recipe
Describe the situation after applying the recipe
Have you considered any alternatives or workarounds?
Any additional context
One difference in the best practices for the JUnit 4 to JUnit 5 migration is changing the scope of classes and methods. In some cases these tests are ran in a container. I'm not sure if this should be part of the
org.openrewrite.java.testing.junit5.JUnit5BestPractices
recipe or not yet.Are you interested in contributing this recipe to OpenRewrite?
I would like to contribute or help contribute the fix. What I currently have is:
The text was updated successfully, but these errors were encountered: