-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Moves Junit 4 support from core to separate module #5826
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
Conversation
9a45d55
to
ec7f0bd
Compare
ec7f0bd
to
71c81f9
Compare
adb4eac
to
972dce2
Compare
972dce2
to
8a7c2be
Compare
44e69bd
to
111b3ea
Compare
Module is named testcontainers-junit4 instead of junit4 because it fails when building examples with "> Module version 'org.testcontainers:junit4' is not unique in composite: can be provided by [project :testcontainers-java:docs:examples:junit4, project " Seems related to gradle/gradle#12872
Thanks for the PR, @froque ! It has been decided to create a brand new API (JUnit-free) instead of removing junit4 integration from |
@eddumelendez any way to help and speed this up ? |
@eddumelendez Any estimates or ways to speed up the development? Issues such as #970 date back to 2018. It's a bit funny that this junit 4/5 issue is present for years now and we've yet to see any practical outcome. |
Hi, just ran latest openrewrite recipies which ended up giving caused by (GenericContainer<SELF extends GenericContainer) How are the decoupling going? regards |
After manually adding the junit 4 dependency, it seems like the issue have disappared after upgrading to a newer version of testcontainers / spring boot test containers.. So I am expecting my issue to be cause by an intermediate upgrade issue. And not reflecting current state |
Module is named testcontainers-junit4 (as suggested in #737) instead of junit4 because it fails when building examples with
"> Module version 'org.testcontainers:junit4' is not unique in composite: can be provided by [project :testcontainers-java:docs:examples:junit4, project "
Seems related to gradle/gradle#12872
Fixes #970 and #87 (duplicates #2826, #3101, #3374, #3548, #3737, #3753, #3756, #5287, #5404, #1525)
This is a breaking change and should target future testcontainers-2.0.
Could not find any branch for future 2.0 so this pull request is targeting master.
I started working on a openrewrite recipe to acompany this pull request but is not yet presentable.