openyurtio / yurt-edgex-manager

yurt-edgex-manager is an operator for managing EdgeX lifecycle(including deploy, delete, update) in OpenYurt cluster.
Apache License 2.0
18 stars 24 forks source link

Add E2E Test for Webhook #51

Closed Rui-Gan closed 2 years ago

Rui-Gan commented 2 years ago

What type of PR is this?

/kind feature

What this PR does / why we need it:

add e2e test for webhook

Which issue(s) this PR fixes:

Fixes #34

Special notes for your reviewer:

Change the deployment mode of e2e tests to helm

codecov[bot] commented 2 years ago

Codecov Report

Merging #51 (8cf1ac6) into main (62bbfbb) will increase coverage by 13.01%. The diff coverage is n/a.

@@            Coverage Diff             @@
##            main      #51       +/-   ##
==========================================
+ Coverage   5.39%   18.40%   +13.01%     
==========================================
  Files          1        2        +1     
  Lines        315      402       +87     
==========================================
+ Hits          17       74       +57     
- Misses       298      322       +24     
- Partials       0        6        +6     
Impacted Files Coverage Δ
pkg/webhook/edgex/edgex_webhook.go 65.51% <0.00%> (ø)

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