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 to JUnit 5.1 #79
Conversation
f314dca
to
dfece8b
Compare
dfece8b
to
91a9956
Compare
Hi Pascal! Thank you for the PR. My only hesitation with JUnit 5 is that it does not work in Eclipse yet, for me at least. |
The only problem I encountered was that I had to delete the existing JUnit run configurations for commons-text (I'm using Eclipse Oxygen.3 and it does not seem to be able to update a run configuration from JUnit 4 to JUnit 5). |
JUnit 5 should work with any Eclipse Version released during the last year (as long as you delete existing run configurations for the project). @garydgregory Can you give running this a try? I would like to merge it. Thanks! |
Tested the master branch first, and everything obviously worked. Then switched to this branch, and got an error message, then Eclipse opened the run configuration. Followed @PascalSchumacher 's suggestion, removed the project JUnit run configurations, then re-run the class, and everything worked with no issues. Tested a class, a method, and the entire project, by right clicking each of these, then Run As -> JUnit Test (i.e. Eclipse also recognized the files as JUnit tests). Also put a breakpoint in some random method, then Debug As -> JUnit Test, and it worked as expected too. Looks good to me. Might be a good idea to wait for @garydgregory 's feedback as I have very little experience with JUnit 5 for now, besides reading slides/docs/etc. |
Comitted! :-) Works for me as well in Eclipse 4.7.3. Thanks you @PascalSchumacher . |
Great! @kinow Thanks in-depth check! |
No description provided.