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

netmap: Improve testing and increase coverage #627

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

cthulhu-rider
Copy link
Contributor

No description provided.

Test each method independently and use fixed reference values/binary.
Also maximize the coverage.

Signed-off-by: Leonard Lyubich <[email protected]>
Previous condition in `NetworkInfo.ReadFromV2` method was wrong and
unreachable.

Signed-off-by: Leonard Lyubich <[email protected]>
Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.35%. Comparing base (ab1e38b) to head (08c052f).
Report is 17 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #627      +/-   ##
==========================================
+ Coverage   53.93%   54.35%   +0.41%     
==========================================
  Files         164      164              
  Lines       19222    19193      -29     
==========================================
+ Hits        10368    10432      +64     
+ Misses       8415     8327      -88     
+ Partials      439      434       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant