project-safari / zebra

lab resource inventory and reservation system
Apache License 2.0
6 stars 8 forks source link

Increase Test Coverage #105

Closed evaachim closed 1 year ago

evaachim commented 1 year ago

Increase overall test coverage for zebra

codecov[bot] commented 1 year ago

Codecov Report

Merging #105 (dc1039e) into main (f4563f3) will decrease coverage by 0.53%. The diff coverage is 80.59%.

@@            Coverage Diff             @@
##             main     #105      +/-   ##
==========================================
- Coverage   87.78%   87.24%   -0.54%     
==========================================
  Files          57       60       +3     
  Lines        3480     4070     +590     
==========================================
+ Hits         3055     3551     +496     
- Misses        343      439      +96     
+ Partials       82       80       -2     
Flag Coverage Δ
unittests 87.24% <80.59%> (-0.54%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/client/run_cli.go 75.05% <75.05%> (ø)
cmd/client/get_cli_helpers.go 80.00% <80.00%> (ø)
cmd/client/root.go 100.00% <100.00%> (ø)
cmd/client/show.go 100.00% <100.00%> (ø)
store/store.go 80.72% <100.00%> (+3.83%) :arrow_up:
cmd/server/register.go 80.18% <0.00%> (-6.61%) :arrow_down:
cmd/server/labels.go 100.00% <0.00%> (+28.57%) :arrow_up:

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

rchamarthy commented 1 year ago

Merged through #110