Add unit tests for com.baidu.hugegraph.util.StringUtil - #485
Conversation
Codecov Report
@@ Coverage Diff @@
## master #485 +/- ##
============================================
+ Coverage 68.99% 69.02% +0.03%
- Complexity 3280 3283 +3
============================================
Files 208 208
Lines 16193 16193
Branches 2334 2334
============================================
+ Hits 11172 11178 +6
+ Misses 3774 3765 -9
- Partials 1247 1250 +3
Continue to review full report at Codecov.
|
|
@Braavos96 Thank you very much for your code contribution. Yes it's very useful to improve the tests, |
javeme
left a comment
There was a problem hiding this comment.
Looks great! there are still some comments and please don't forget to sign CLA
ab49895 to
cf80faf
Compare
|
Hi @javeme, I have amended the test cases to include your comments on it and also signed the CLA. |
|
@Braavos96 Thank you very much, there are some minor comments to be addressed. |
0368547 to
b6217e1
Compare
javeme
left a comment
There was a problem hiding this comment.
Still some comments, thanks very much
b6217e1 to
a1232ff
Compare
These tests were written using Diffblue Cover.
a1232ff to
84f0ecd
Compare
I've analysed your codebase and noticed that com.baidu.hugegraph.util.StringUtil is not fully tested.
I've written some tests for the methods in this class with the help of Diffblue Cover.
Hopefully, these tests will help you detect any regressions caused by future code changes. If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other classes that you consider important.