vmware / terraform-provider-tanzu-mission-control

Terraform Provider for VMware Tanzu Mission Control
https://registry.terraform.io/providers/vmware/tanzu-mission-control/latest/docs
Mozilla Public License 2.0
37 stars 31 forks source link

Add acceptance tests and docs for helm repository and helm charts data source #275

Closed Shubbhang351 closed 1 year ago

Shubbhang351 commented 1 year ago
  1. What this PR does / why we need it:

Add acceptance tests and docs for helm repository and helm charts data source

Acceptance test output

Screenshot 2023-09-27 at 7 51 52 AM Screenshot 2023-09-27 at 7 52 33 AM

Mock Accep. tests output

Screenshot 2023-09-27 at 7 53 18 AM Screenshot 2023-09-27 at 7 53 47 AM
codecov-commenter commented 1 year ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (a8f39f0) 24.74% compared to head (b9df480) 25.01%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feat/helm-sm #275 +/- ## ================================================ + Coverage 24.74% 25.01% +0.27% ================================================ Files 174 178 +4 Lines 14597 14743 +146 ================================================ + Hits 3612 3688 +76 - Misses 10821 10871 +50 - Partials 164 184 +20 ``` | [Files](https://app.codecov.io/gh/vmware/terraform-provider-tanzu-mission-control/pull/275?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vmware) | Coverage Δ | | |---|---|---| | [internal/resources/helmcharts/test\_helper.go](https://app.codecov.io/gh/vmware/terraform-provider-tanzu-mission-control/pull/275?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vmware#diff-aW50ZXJuYWwvcmVzb3VyY2VzL2hlbG1jaGFydHMvdGVzdF9oZWxwZXIuZ28=) | `80.00% <80.00%> (ø)` | | | [internal/resources/helmrepository/test\_helper.go](https://app.codecov.io/gh/vmware/terraform-provider-tanzu-mission-control/pull/275?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vmware#diff-aW50ZXJuYWwvcmVzb3VyY2VzL2hlbG1yZXBvc2l0b3J5L3Rlc3RfaGVscGVyLmdv) | `80.00% <80.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/vmware/terraform-provider-tanzu-mission-control/pull/275/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vmware)

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