-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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: increase common module unit test coverage #6157
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## 2.x #6157 +/- ##
============================================
+ Coverage 48.94% 49.04% +0.09%
- Complexity 4775 4793 +18
============================================
Files 913 913
Lines 31710 31697 -13
Branches 3827 3823 -4
============================================
+ Hits 15521 15546 +25
+ Misses 14653 14620 -33
+ Partials 1536 1531 -5 |
6aa6296
to
f3669b6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #6157 +/- ##
============================================
+ Coverage 48.98% 49.73% +0.75%
- Complexity 4779 4880 +101
============================================
Files 915 915
Lines 31896 31880 -16
Branches 3855 3853 -2
============================================
+ Hits 15624 15857 +233
+ Misses 14710 14467 -243
+ Partials 1562 1556 -6
|
a651cd6
to
13e1ac5
Compare
common/src/test/java/io/seata/common/exception/AuthenticationFailedExceptionTest.java
Outdated
Show resolved
Hide resolved
common/src/test/java/io/seata/common/exception/AuthenticationFailedExceptionTest.java
Outdated
Show resolved
Hide resolved
common/src/test/java/io/seata/common/exception/JsonParseExceptionTest.java
Outdated
Show resolved
Hide resolved
common/src/test/java/io/seata/common/exception/RedisExceptionTest.java
Outdated
Show resolved
Hide resolved
common/src/test/java/io/seata/common/exception/RetryableExceptionTest.java
Outdated
Show resolved
Hide resolved
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.
Please remove @Date @description @author .
I'm ok with other changes.
0433889
to
456415d
Compare
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.
LGTM
Ⅰ. Describe what this PR did
The coverage please see https://app.codecov.io/gh/apache/incubator-seata/pull/6157/tree
Ⅱ. Does this pull request fix one issue?
#6158
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews