database-mesh / pisanix

A Database Mesh Project Sponsored by SphereEx
https://www.pisanix.io
Apache License 2.0
281 stars 37 forks source link

chore(test): add unit test case #327

Closed mlycore closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #327 (bb852b2) into master (df61eb4) will increase coverage by 5.66%. The diff coverage is 87.03%.

@@            Coverage Diff             @@
##           master     #327      +/-   ##
==========================================
+ Coverage   66.97%   72.64%   +5.66%     
==========================================
  Files           7        6       -1     
  Lines         427      574     +147     
==========================================
+ Hits          286      417     +131     
- Misses        133      146      +13     
- Partials        8       11       +3     
Flag Coverage Δ
unittests 72.64% <87.03%> (+5.66%) :arrow_up:

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

Impacted Files Coverage Δ
pisa-controller/pkg/webhook/server.go 26.66% <0.00%> (ø)
pisa-controller/pkg/proxy/http.go 58.62% <53.84%> (+0.72%) :arrow_up:
pisa-controller/pkg/webhook/injection.go 59.02% <82.56%> (+20.08%) :arrow_up:
pisa-controller/pkg/proxy/builder.go 90.14% <93.87%> (-1.08%) :arrow_down:

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