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

refactor: microvmmachine controllers individual tests #62

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

richardcase
Copy link
Member

What this PR does / why we need it:

Changed the MicrovmMachine controller tests away from the single test
with subtests to individual tests. This is mainly to help with the debug
/ run single test dev experience. Without this change it would require
commenting out all the subtests you are no interested in....a pain in
the rear end.

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 #44

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests (well refactor them)
  • adds or updates e2e tests

Changed the MicrovmMachine controller tests away from the single test
with subtests to individual tests. This is mainly to help with the debug
/ run single test dev experience. Without this change it would require
commenting out all the subtests you are no interested in....a pain in
the rear end.

Signed-off-by: Richard Case <[email protected]>
@richardcase richardcase added the kind/refactor Only refactoring changes label Dec 14, 2021
@Callisto13
Copy link
Member

Without this change it would require
commenting out all the subtests you are no interested in....a pain in
the rear end.

Unless you use ginkgo or some plugin then it is piece of cake 😉

@richardcase richardcase merged commit 04fb34c into main Dec 14, 2021
@richardcase richardcase deleted the 44_microvmmachine_tests_refactor branch December 14, 2021 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactor Only refactoring changes size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor MicrovmMachine Controller tests to individual tests
2 participants