kubewarden / kubewarden-controller

Manage admission policies in your Kubernetes cluster with ease
https://kubewarden.io
Apache License 2.0
189 stars 33 forks source link

test: clean up integration tests #714

Closed fabriziosestito closed 5 months ago

fabriziosestito commented 5 months ago

Description

Fix: #705

Also, it cleans up and lints the integration tests for added clarity.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 51.81%. Comparing base (926e9b0) to head (20f439b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #714 +/- ## ========================================== + Coverage 51.17% 51.81% +0.63% ========================================== Files 27 27 Lines 2044 2044 ========================================== + Hits 1046 1059 +13 + Misses 888 877 -11 + Partials 110 108 -2 ``` | [Flag](https://app.codecov.io/gh/kubewarden/kubewarden-controller/pull/714/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden) | Coverage Δ | | |---|---|---| | [integration-tests](https://app.codecov.io/gh/kubewarden/kubewarden-controller/pull/714/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden) | `71.33% <ø> (+2.71%)` | :arrow_up: | | [unit-tests](https://app.codecov.io/gh/kubewarden/kubewarden-controller/pull/714/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden) | `45.84% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.