seatunnel
seatunnel copied to clipboard
[Improve][UT] Upgrade junit to 5.+
Search before asking
- [X] I had searched in the feature and found no similar feature requirement.
Description
Right now, we still use junit 4.+ in our repo, I hope we can upgrade to Junit 5.+, then we can easy to write the UT, JUnit 5 provide some useful feature, e.g. @ParameterizedTest, @EnabledOnOs,...
Currently we have a small number of test cases and it is easy to upgrade dependencies.
Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
CC @Hisoka-X @CalvinKirs @ruanwenjun
+1,5 have many highlights
+1
+1, it would be great if we can upgrade to junit 5+
Because Testcontainers are tightly coupled with JUnit4, we can't completely remove junit4, maybe we need a check style rule to banned the import of junit4 class.