Add test coverage for clients in tempest lib

Registered by Felipe Monteiro on 2017-05-19

According to the tempest lib documentation [0]:

"When adding a new interface to the library we need to at a minimum have unit test coverage. A proposed change to add an interface to tempest/lib that doesn't have unit tests shouldn't be accepted. Ideally these unit tests will provide sufficient coverage to ensure a stable interface moving forward."

Thus test coverage should be provided for existing clients in tempest.lib that lack unit tests.

[0] https://docs.openstack.org/developer/tempest/library.html#testing

Blueprint information

Status:
Started
Approver:
Andrea Frittoli
Priority:
Undefined
Drafter:
Felipe Monteiro
Direction:
Approved
Assignee:
Felipe Monteiro
Definition:
Approved
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Andrea Frittoli on 2017-08-03

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/tempest-lib-missing-test-coverage,n,z

Addressed by: https://review.openstack.org/466436
    Test coverage for network v2 subnets_client

Addressed by: https://review.openstack.org/467390
    Test coverage for network v2 subnetpools_client

Addressed by: https://review.openstack.org/470644
    Test coverage for network v2 security groups client

Addressed by: https://review.openstack.org/471888
    Test coverage for network v2 security group rules client

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

Addressed by: https://review.openstack.org/473871
    Added Floating IPs client unit test

Addressed by: https://review.openstack.org/474357
    Add Quotas client test

Addressed by: https://review.openstack.org/474371
    Add Security Groups client test

Addressed by: https://review.openstack.org/474393
    Add Metering Label Rules client test

Addressed by: https://review.openstack.org/474391
    Add Metering Labels client test

Addressed by: https://review.openstack.org/474387
    Add Security Group Rules client test

Addressed by: https://review.openstack.org/474356
    Add Quotas client unit tests

Addressed by: https://review.openstack.org/474601
    Add Extensions client unit tests

Addressed by: https://review.openstack.org/474712
    Add Networks client unit tests

Addressed by: https://review.openstack.org/474718
    Add Ports client unit tests

Addressed by: https://review.openstack.org/475513
    Add Scheduler Stats client unit test

Addressed by: https://review.openstack.org/480902
    Supplement unit tests for volume transfers client

Addressed by: https://review.openstack.org/482503
    Add unit tests for volume and snapshot manage clients

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

Addressed by: https://review.openstack.org/483116
    Added unit test coverage for retype_volume in v2 volumes_client

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

Addressed by: https://review.openstack.org/483115
    Added return statement to retype_volume in v2 volumes_client

Addressed by: https://review.openstack.org/484033
    Test coverage for volume v2 snapshot manage client

Addressed by: https://review.openstack.org/486463
    Add unit test for volume extensions client

Addressed by: https://review.openstack.org/486465
    Add unit test for volume limits client

Addressed by: https://review.openstack.org/486880
    Increase unit test coverage for v2 images client

Addressed by: https://review.openstack.org/490787
    Add unit test for volume availability zone client

Addressed by: https://review.openstack.org/555946
    Add Agents client unit tests

Addressed by: https://review.openstack.org/575485
    Add Hosts client unit test

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.