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

Upgrade from JUnit4 to JUnit5 #1202

Closed

Conversation

pacphi
Copy link
Contributor

@pacphi pacphi commented Oct 16, 2023

Employed OpenRewrite to do perform all changes save for one.
AbstractRestTest.java had a reference to org.junit.ComparisonFailure which itself is a subclass of java.lang.AssertionError.

I followed public documentation, here:

Tests pass for Java 8 and Java 11. But we still observe the following issue targeting Java 17+: immutables/immutables#1339.

Employed OpenRewrite to do perform all changes save for one.  AbstractRestTest.java had a reference to org.junit.ComparisonFailure which itself is a subclass of java.lang.AssertionError. I followed public documentation here:
* https://docs.openrewrite.org/running-recipes/popular-recipe-guides/migrate-from-junit-4-to-junit-5
* https://docs.openrewrite.org/running-recipes/multi-module-maven

Tests pass for Java 8 and Java 11.  But we still observe the following issue targeting Java 17+: immutables/immutables#1339.
@pacphi pacphi changed the title Upgrade from JUnit4 to jUnit5 Upgrade from JUnit4 to JUnit5 Oct 16, 2023
@pacphi
Copy link
Contributor Author

pacphi commented Dec 29, 2023

Too complicated. Going to close this PR and start over.

@pacphi pacphi closed this Dec 29, 2023
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.

1 participant