Reorganize Unit Test Tree

Registered by Maru Newby

There is no consistent organization of unit test modules (neutron/test/unit/*). There is no easy way to find the unit tests for a given module, making it challenging to determine whether code is well-tested. There are also no clear guideline as to where new tests should go, ensuring that the problem continues.

Blueprint information

Status:
Complete
Approver:
Kyle Mestery
Priority:
High
Drafter:
Maru Newby
Direction:
Approved
Assignee:
Maru Newby
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 7.0.0
Started by
Kyle Mestery
Completed by
Maru Newby

Related branches

Sprints

Whiteboard

March-17 (mestery): How about if we work to merge this once Kilo-3 lands, does that sound ok Maru?

January-30 (mestery): Moving to Kilo-3 since no code proposed yet.

December-15 (mestery): Kilo-2.

For reference, link to spec: http://git.openstack.org/cgit/openstack/neutron-specs/tree/specs/kilo/reorganize-unit-test-tree.rst

Gerrit topic: https://review.openstack.org/#q,topic:bug/1412738,n,z

Addressed by: https://review.openstack.org/151877 (Merged)
    Move agent.linux.utils tests to proper location

Gerrit topic: https://review.openstack.org/#q,topic:oslo_hacking_tests,n,z

Addressed by: https://review.openstack.org/154856 (Merged)
    Moved hacking unit test into proper location

Gerrit topic: https://review.openstack.org/#q,topic:bp/reorganize-unit-test-tree,n,z

Addressed by: https://review.openstack.org/158811
    WIP Reorganize unit test tree

Addressed by: https://review.openstack.org/170329
    Merge unit test modules targeting the same module

Addressed by: https://review.openstack.org/170570
    Remove orphaned nuage unit test module

Addressed by: https://review.openstack.org/170629
    Add reorg helpers.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.