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
[TEST] Run JUnit tests on beeline module #4969
Conversation
Does it support JUnit5 ? |
No, the scalatest junit plugin only supports Junit 4.x according to the version list at https://www.scalatest.org/plus/junit/versions. |
Codecov Report
@@ Coverage Diff @@
## master #4969 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 561 561
Lines 30969 30969
Branches 4061 4061
======================================
Misses 30969 30969 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
6cfae7f
to
b0f4e4c
Compare
b0f4e4c
to
995c83c
Compare
The tests can be skipped with |
Do we need to check other java modules? |
I have checked. we missed the module |
### _Why are the changes needed?_ - add `maven-surefire-plugin` to beeline module for running JUnit tests. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4969 from bowenliang123/scalatest-junit. Closes #4969 995c83c [liangbowen] surefire on beeline Authored-by: liangbowen <liangbowen@gf.com.cn> Signed-off-by: liangbowen <liangbowen@gf.com.cn> (cherry picked from commit de0258b) Signed-off-by: liangbowen <liangbowen@gf.com.cn>
Thanks for reviewing. Merged to master / 1.7.2. |
Why are the changes needed?
maven-surefire-plugin
to beeline module for running JUnit tests.How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before make a pull request