Skip to content

Refactor existing tests - #154

Open
lforchini wants to merge 1 commit into
test/refactorfrom
test/modify-existing
Open

lforchini wants to merge 1 commit into
test/refactorfrom
test/modify-existing

Conversation

@lforchini

Copy link
Copy Markdown
Collaborator

Rename tests to use the test_ prefix and refactor the bodies of some
tests. Also change Config::default to match its serde default.

Signed-off-by: Leonardo Forchini leonardo.forchini@nutanix.com


Stack created with GitHub Stacks CLI • Give Feedback 💬

@lforchini
lforchini added this pull request to stack #157 October 23, 2026 08:45
@lforchini
lforchini removed this pull request from stack #157 October 23, 2026 08:49
@lforchini
lforchini added this pull request to stack #159 October 23, 2026 08:50
@lforchini
lforchini force-pushed the test/modify-existing branch from dab07a4 to 86b8218 Compare October 29, 2026 14:29
@lforchini
lforchini removed this pull request from stack #159 October 30, 2026 10:48
@lforchini
lforchini force-pushed the test/modify-existing branch from 86b8218 to cd9207b Compare October 30, 2026 10:49
@lforchini
lforchini added this pull request to stack #173 October 30, 2026 10:50
@lforchini
lforchini marked this pull request as ready for review October 30, 2026 10:52
@lforchini
lforchini force-pushed the test/modify-existing branch from cd9207b to b6339fd Compare October 30, 2026 11:43

@tmakatos tmakatos left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor phrasing nits, LGTM otherwise.

Comment thread src/backends/qemu/libvirt.rs Resolved
Comment thread src/config.rs Resolved
Comment thread src/controller.rs Resolved
Comment thread src/instance.rs Resolved
@lforchini
lforchini removed this pull request from stack #173 November 5, 2026 15:02
@lforchini
lforchini force-pushed the test/modify-existing branch from b6339fd to 0339909 Compare November 5, 2026 15:03
@lforchini
lforchini added this pull request to stack #176 November 5, 2026 15:03
@lforchini
lforchini removed this pull request from stack #176 November 5, 2026 15:09
@lforchini
lforchini force-pushed the test/modify-existing branch from 0339909 to 3bdee91 Compare November 5, 2026 15:10
@lforchini
lforchini added this pull request to stack #178 November 5, 2026 15:10
@lforchini
lforchini removed this pull request from stack #178 November 6, 2026 10:23
@lforchini
lforchini force-pushed the test/modify-existing branch from 3bdee91 to a05aa2c Compare November 6, 2026 10:24
@lforchini
lforchini added this pull request to stack #180 November 6, 2026 10:24
@lforchini
lforchini force-pushed the test/modify-existing branch 3 times, most recently from 4d740be to 60b4115 Compare November 13, 2026 09:38
Rename tests to use the `test_` prefix and refactor the bodies of some
tests. Also change Config::default to match its serde default.

Signed-off-by: Leonardo Forchini <leonardo.forchini@nutanix.com>
@lforchini
lforchini force-pushed the test/modify-existing branch from 60b4115 to 06777e7 Compare November 13, 2026 09:55

@tmakatos tmakatos left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer this split into separate commits, e.g. prepending test_ in its own commit, rewording tests in own commit, etc. Also, could you explain the need for the refactor?

@tmakatos

Copy link
Copy Markdown
Collaborator

Minor phrasing nits, LGTM otherwise.

See newer comment, this should be split.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants