Skip to content
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 internal/bytesconv unit test statement coverage #274

Merged
merged 8 commits into from Oct 8, 2022

Conversation

Alexdener
Copy link
Contributor

@Alexdener Alexdener commented Sep 26, 2022

What type of PR is this?
test: internal/bytesconv unit test statement coverage from 1.68% to 82.35%

Check the PR title.
This PR title match the format: (optional scope):
The description of this PR title is user-oriented and clear enough for others to understand.
(Optional) More detail description for this PR(en: English/zh: Chinese).
en: internal/bytesconv unit test statement coverage from 1.68% to 82.35%
zh(optional): 增加internal/bytesconv包测试覆盖率,覆盖率从1.68%提高到了82.35%

Which issue(s) this PR fixes:
part of #257

@CLAassistant
Copy link

CLAassistant commented Sep 26, 2022

CLA assistant check
All committers have signed the CLA.

@li-jin-gou
Copy link
Member

CI need to resolve

@Alexdener
Copy link
Contributor Author

OK, thanks.

@codecov
Copy link

codecov bot commented Sep 26, 2022

Codecov Report

Base: 61.57% // Head: 62.76% // Increases project coverage by +1.19% 🎉

Coverage data is based on head (dde2ce6) compared to base (b7ff4bb).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #274      +/-   ##
===========================================
+ Coverage    61.57%   62.76%   +1.19%     
===========================================
  Files           84       84              
  Lines         8288     8288              
===========================================
+ Hits          5103     5202      +99     
+ Misses        2831     2728     -103     
- Partials       354      358       +4     
Impacted Files Coverage Δ
pkg/common/timer/timer.go 61.90% <0.00%> (-19.05%) ⬇️
pkg/common/compress/compress.go 80.95% <0.00%> (-2.86%) ⬇️
internal/bytesconv/bytesconv.go 90.75% <0.00%> (+89.07%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Alexdener Alexdener requested review from FGYFFFF and Duslia and removed request for welkeyever, li-jin-gou, FGYFFFF and Duslia September 26, 2022 08:20
@Alexdener
Copy link
Contributor Author

CI need to resolve

resolved

@Alexdener Alexdener requested review from Duslia and removed request for FGYFFFF September 29, 2022 09:38
@welkeyever welkeyever changed the title test: internal/bytesconv unit test statement coverage from 1.68% to 8… test: increase internal/bytesconv unit test statement coverage Oct 8, 2022
@welkeyever welkeyever merged commit 503b9ad into cloudwego:develop Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants