-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Improve tests in build: less verbosity, fix compiler warnings #1139
Conversation
Use `@SuppressWarnings` rather than IntelliJ comments when possible so that the compiler will pick these hints up too.
The PASSED were displayed in case a test would hang and the CI would terminate the build without much info. If such situation arises again, one can always add PASSED back temporarily. Ideally, gradle/gradle#1096 and/or gradle/gradle#2476 being fixed would improve the situation.
This commit prevents test failure when no tests are found due to a too restrictive filter. This will notably happen when failed tests are re-run from the IDE, leading to an enumeration of the tests to run that won't match the includes of additional test tasks like testNG. Additionally, a small test report is printed for each test task, giving status of the intermediate states of the global check task.
Use `@SuppressWarnings` rather than IntelliJ comments when possible so that the compiler will pick these hints up too.
7e3b847
to
78fa10d
Compare
Codecov Report
@@ Coverage Diff @@
## master #1139 +/- ##
============================================
+ Coverage 83.66% 83.68% +0.01%
- Complexity 3603 3616 +13
============================================
Files 337 337
Lines 27806 27826 +20
Branches 5196 5198 +2
============================================
+ Hits 23265 23287 +22
- Misses 2980 2983 +3
+ Partials 1561 1556 -5
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fast-track requested by @simonbasle
Use `@SuppressWarnings` rather than IntelliJ comments when possible so that the compiler will pick these hints up too.
The PASSED were displayed in case a test would hang and the CI would terminate the build without much info. If such situation arises again, one can always add PASSED back temporarily. Ideally, gradle/gradle#1096 and/or gradle/gradle#2476 being fixed would improve the situation.
This commit prevents test failure when no tests are found due to a too restrictive filter. This will notably happen when failed tests are re-run from the IDE, leading to an enumeration of the tests to run that won't match the includes of additional test tasks like testNG. Additionally, a small test report is printed for each test task, giving status of the intermediate states of the global check task.
@smaldini to be rebase-merged.