Skip to content

Refactor controller_tests to use builder pattern #376

Open
@msau42

Description

@msau42

Provision and snapshot tests have a lot of logic built into the test case itself to construct input objects to the functions. For examples:


if tc.misBoundSnapshotContentUID {

I think it would be cleaner to refactor these tests to use a builder pattern and construct the input object when defining the test cases.

Metadata

Metadata

Labels

help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions