kitex
kitex copied to clipboard
Request help: Supplementary of Unit Tests
We hope more developers join CloudWeGo. This is a task issue that needs your help.
Issue Description Write Unit Tests for some modules of Kitex, we mainly focus on Statement Coverage. The packages are shown below, you can choose and reply by comment. Before you pick the task, please comply with the following requirements:
- The Unit Test you add must be meaningful.
- It is used to verify the correctness of code logic.
- It is forbidden to add a test only for the purpose of coverage but without logical meaning.
- It is suggested to add comments with clear descriptions for each unit test.
- Every unit test must have assertions.
- Don't check code logic by
print
.
Packages
Current Coverages v0.2.0.
- [x]
kitex/client
: Current 52.7%(Overall 59%), Target 80%, DONE by @authorixy - [x]
kitex/server
: Current 73%, Target 80%, DONE by @baiyutang - [x]
kitex/pkg/klog
: Current 0%(Overall 33.3%), Target 80%, DONE by @dongzeXD - [x]
kitex/pkg/retry
: Current 34.9%, Target 80%, DONE by @JZK-Keven - [x]
kitex/pkg/transmeta
: Current 27.2%, Target 80%, DONE by @ag9920 - [x]
kitex/pkg/utils
: Current 70.5%, Target 80%, DONE by @bodhisatan - [ ]
kitex/pkg/remote/codec
: Current 58.5%, Target 80%, TODO by @mxdblcf - [x]
kitex/pkg/remote/trans/netpoll
: Current 39.5%(Overall 56%), Target 80%, DONE by @Jacob953 - [x]
kitex/pkg/remote/trans/netpollmux
: Current 42.3%, Target 80%, DONE by @debug-LiXiwen - [x]
kitex/pkg/remote/trans/nhttp2
: Current 0%, Target 80%, DONE by @HeyJavaBean - [x]
kitex/pkg/remote/bound
: Current 0%(Overall 57.9%), Target 80%, DONE By @Midugo - [x]
kitex/pkg/protocol
: Current 0%, Target 80%, DONE by @Lvnszn - [x]
kitex/pkg/generic
: Current 59%, Target 80%, DONE By @LoveScotty - [x]
kitex/pkg/remote/remotecli
: Current 45.7%(Overall 73.4%), Target 80%οΌDONE by @debug-LiXiwen
Hi, I want to choose module "kitex/pkg/remote/trans/nhttp2" ππ»
Hi, I want to choose module " kitex/client" ππ»
Thank you, @li-jin-gou and @HeyJavaBean ! I have updated this issue to mark your TODO.
Hi, I want to choose module "kitex/pkg/utils" ππ»
Hi, I want to choose module "kitex/pkg/retry" ππ»
Hi, I want to choose module "kitex/pkg/remote/trans/netpollmux" ππ»
Thanks @bodhisatan @JZK-Keven @debug-LiXiwen . We have updated this issue to mark your TODO ; )
kitex/server
ππ»
kitex/server
kitex/pkg/klog
ππ»
Claim one task at a time please, you may claim another one when you finish the previous one. @baiyutang
Hi, I want to choose module "kitex/pkg/klog" ππ»
Thanks @baiyutang @dongzeXD . We have updated this issue to mark your TODO ; )
Hi, I want to choose module "kitex/pkg/remote/trans/netpoll" ππ»
Thanks @Jacob953 , I have updated this issue to mark your TODO ; )
Hi, I want to choose module "kitex/pkg/remote/codec"
Hi, I want to choose module "kitex/pkg/transmeta"
Thanks @mxdblcf and @ag9920 , I have updated this issue to mark your TODO ; )
Hi, I want to choose module "kitex/pkg/remote/bound"
Thanks @Midugo , I have updated this issue to mark your TODO ; )
Hi, I want to choose another module "kitex/pkg/protocal" to fix ut of thrift serialization.
Hi, I want to choose another module "kitex/pkg/protocal" to fix ut of thrift serialization.
fine, I have updated, Thanks again @Midugo
Hi,I want to choose module β kitex/pkg/genericβ
Thanks, I have updated the issue. @LoveScotty
@HeyJavaBean @li-jin-gou @Jacob953 @mxdblcf @ag9920 hi guys, please submit PR as soon as possible, otherwise the tasks may be invalid.
Sorry about the other important things before, I will finish as soon as possible. @GuangmingLuo
@HeyJavaBean @li-jin-gou @Jacob953 @mxdblcf @ag9920 hi guys, please submit PR as soon as possible, otherwise the tasks may be invalid.
@GuangmingLuo Hi, sorry for the late reply, the PR for pkg/transmeta was merged today, the coverage for transmeta was promoted from 27.2% to 90.1%.
hi, I want to choose module "kitex/pkg/remote/remotecli"
hi, I want to choose module "kitex/pkg/remote/remotecli"
Thanks, I have updated the issue. @debug-LiXiwen
hi, I want to choose module "kitex/pkg/protocol"