Backends' Tests Restructuration
Existing tests need to be restructured to reflect the code structure and aid maintenance.
1) test_v3_resource.py needs to be extracted from test_v3_assignment.
2 ) test-backend.py (which is now > 6000 lines of code) should be split up into a structure like:
backend/role/[core, sql, ldap]
backend/
etc.
All the above should be within the new tests/unit directory.
Since bakcend KVS is deprecated, we won't split test_backend_kvs.py
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Samuel de Medeiros Queiroz
- Direction:
- Needs approval
- Assignee:
- Samuel de Medeiros Queiroz
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Steve Martinelli
Related branches
Related bugs
Sprints
Whiteboard
(morganfainberg): No Spec is required, decided at the Keystone IRC meeting on Feb 10, 2015
Gerrit topic: https:/
Addressed by: https:/
Extract test_v3_resource from test_v3_assignment
Addressed by: https:/
Move backend role tests into their own module
Addressed by: https:/
Move backend LDAP role testing to the new backend testing module
Addressed by: https:/
Cleanup tests don't keep engine
(stevemar) 2016-02-02: i'm marking this as obsolete because there is no need to create blueprints for refactoring.