Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Unit tests for cloud/scope/vpc.go #182

Merged
merged 59 commits into from
Mar 12, 2024
Merged

Add Unit tests for cloud/scope/vpc.go #182

merged 59 commits into from
Mar 12, 2024

Conversation

komer3
Copy link
Contributor

@komer3 komer3 commented Mar 11, 2024

What type of PR is this?

What this PR does / why we need it:
Adding some unit tests for cloud/scope/vpc.go

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@komer3 komer3 self-assigned this Mar 11, 2024
cloud/scope/common.go Outdated Show resolved Hide resolved
cloud/scope/vpc_test.go Outdated Show resolved Hide resolved
cloud/scope/cluster_test.go Outdated Show resolved Hide resolved
cloud/scope/cluster_test.go Outdated Show resolved Hide resolved
cloud/scope/vpc_test.go Outdated Show resolved Hide resolved
cloud/scope/cluster_test.go Outdated Show resolved Hide resolved
cloud/scope/cluster_test.go Outdated Show resolved Hide resolved
Copy link

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.87%. Comparing base (bfb5cf1) to head (c321dcd).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #182      +/-   ##
==========================================
+ Coverage   18.33%   23.87%   +5.54%     
==========================================
  Files          27       27              
  Lines        2062     2040      -22     
==========================================
+ Hits          378      487     +109     
+ Misses       1650     1493     -157     
- Partials       34       60      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@komer3 komer3 merged commit d6f364e into main Mar 12, 2024
8 checks passed
@komer3 komer3 deleted the add-test-cloud-scope-vpc branch March 12, 2024 22:45
amold1 pushed a commit that referenced this pull request May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Pull requests that improve tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants