Reorganize and Apply Consistency to Unit Tests
This blueprint proposes a clean-up of the unit tests in nova, using guidelines employed by other Python projects with large codebases. In essence, moving unit tests to locations based on module. This was proposed here:
https:/
Discussion is still pending.
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- Undefined
- Drafter:
- Nova Testing Cleanup Team
- Direction:
- Needs approval
- Assignee:
- Duncan McGreggor
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Blocked
- Milestone target:
- None
- Started by
- Duncan McGreggor
- Completed by
- Vish Ishaya
Related branches
Related bugs
Sprints
Whiteboard
[oubiwann] for all test case modules that are top level, keep them in nova/tests
[oubiwann] move current unit tests for modules that are not top-level modules (i.e. subpackages) into nova/<subpackag
[oubiwann] where two or more modules or subpackages are sharing one test case module, split them out into separate test_*.py files
[oubiwann] update the test runner to display the full dotted path of the unit test being run (heading-style, so it doesn't repeat with each line)