Improve Nova API test serviceability

Registered by Ken'ichi Ohmichi

### Now the future of nova v3 API is unclear, so this development stops temporary ###
- oomichi: 2014/06/27

Now there is a lot of copy&paste test code for Nova v2/v3 API tests.
In addition, we need to add many checks for API test coverage.
As the result, we should apply the same changes to v2 and v3 tests.

For improving the maintenancebility, this blueprint proposes
* Add some shared test base classes between v2 and v3 tests
* Each v2 test class inherits v3 test class

The tasks are managed on https://etherpad.openstack.org/p/nova-api-test-inheritance

Blueprint information

Status:
Complete
Approver:
Matthew Treinish
Priority:
Medium
Drafter:
Ken'ichi Ohmichi
Direction:
Approved
Assignee:
Ken'ichi Ohmichi
Definition:
Superseded
Series goal:
Accepted for juno
Implementation:
Unknown
Milestone target:
None
Completed by
Matthew Treinish

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/nova-api-test-inheritance,n,z

Addressed by: https://review.openstack.org/78167
    Add a common admin class for Nova v2/v3 API tests

Addressed by: https://review.openstack.org/78137
    Add a common class for Nova v2/v3 API tests

Addressed by: https://review.openstack.org/80297
    share test_servers between v2/v3 api tests

Addressed by: https://review.openstack.org/82030
    share test_servers between v2/v3 api tests

Addressed by: https://review.openstack.org/85242
    Add spec for bp/nova-api-test-inheritance

Addressed by: https://review.openstack.org/89450
    Remove Nova v3 XML test skip

Addressed by: https://review.openstack.org/89451
    Merge set_network_resources() call at base

Addressed by: https://review.openstack.org/92536
    Inherit V2 keypair API's tests from V3 tests

Addressed by: https://review.openstack.org/92542
    Inherit V2 API's flavors tests from V3 tests

Addressed by: https://review.openstack.org/92549
    Share Certificates API's tests between V2 & V3

Addressed by: https://review.openstack.org/92558
    Reuse the test_images code between V2 & V3 tests

Addressed by: https://review.openstack.org/92769
    Inheriting V2/V3 Images test from BaseComputeTest

Addressed by: https://review.openstack.org/92774
    Inherit V2 FloatingIps test from BaseComputeTest

Addressed by: https://review.openstack.org/92778
    Inherit Security group tests from BaseComputeTest

Addressed by: https://review.openstack.org/92780
    Inherit V2 limits tests from BaseComputeTest

Addressed by: https://review.openstack.org/92986
    Inherit Volume V2 API tests from BaseComputeTest

Addressed by: https://review.openstack.org/92991
    Reusing V2/V3 Quotas test code

Addressed by: https://review.openstack.org/92995
    Share the V2/V3 test_attach_interfaces test code

Addressed by: https://review.openstack.org/93009
    Share test_multiple_create among V2/V3 API tests

Addressed by: https://review.openstack.org/93011
    Share test_server_addresses among V2/V3 API tests

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.