-
Notifications
You must be signed in to change notification settings - Fork 227
Migrate JUnit 4 tests to JUnit 5 in org.eclipse.jface.text.tests #3409
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
626b57c to
7a2341d
Compare
|
@fedejeanne @akurtakov @HeikoKlare @HannesWell Migration was done with Claude Code (which IMHO is currently the best AI engine for coding tasks). Changes look fine to me and the number of tests is still the same. Any concerns? Otherwise I start merging such changes if the build is green and the test number is the same (of course after manually checking for "strange" changes). |
|
In general if the changes stand up to manual review, I don't see any reason for not merging them.
There might of course be different on opinions on how much cleanup such a migration should involve. This pretty much depends on the incentive or goal for doing a migration. For me, migrating to JUnit 5 was never (only) motivated by moving to a more modern framework, but I always took this as a chance to improve the test design and in particular test isolation. In particular in the Platform repository, test isolation was pretty bad before I migrated most of the stuff from JUnit 3/4 to JUnit 5 and the biggest win (and also my essential goal) were more stable tests due to improved isolation and not the migration to JUnit 5 itself. |
|
Thanks @HeikoKlare for the detailed feedback. I agree with your goals and think AI can help with these too. In addition I see the following goals for me:
See also #3414 for some background analysis Claude did before starting to work on the task. |
|
/gemini review |
|
Change LGTM, planning to merge early next week |
No description provided.