Backends' Tests Restructuration

Registered by Samuel de Medeiros Queiroz

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/resource/[core, sql, ldap]
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
Completed by
Steve Martinelli

Related branches

Sprints

Whiteboard

(morganfainberg): No Spec is required, decided at the Keystone IRC meeting on Feb 10, 2015

Gerrit topic: https://review.openstack.org/#q,topic:bp/backends-tests-restructuration,n,z

Addressed by: https://review.openstack.org/154080
    Extract test_v3_resource from test_v3_assignment

Addressed by: https://review.openstack.org/156423
    Move backend role tests into their own module

Addressed by: https://review.openstack.org/156830
    Move backend LDAP role testing to the new backend testing module

Addressed by: https://review.openstack.org/164340
    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.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.