increase-test-coverage

Registered by hongbin

Identify parts of Magnum code that do not have tests coverage, and added tests to them.

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
hongbin
Direction:
Approved
Assignee:
hongbin
Definition:
Approved
Series goal:
Accepted for milestone-2
Implementation:
Implemented
Milestone target:
None
Started by
Steven Dake
Completed by
Adrian Otto

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/144254
    Add more tests for magnum/common

Addressed by: https://review.openstack.org/144550
    Add two missing baymodel exceptions

Addressed by: https://review.openstack.org/144551
    Add tests for baymodel dbapi and make them pass

Addressed by: https://review.openstack.org/144704
    Add tests for Bay dbapi and make them pass

Addressed by: https://review.openstack.org/144851
    Add tests for Pod and Service on dbapi

Addressed by: https://review.openstack.org/145121
    Add unit tests for dbapi of Node and Container

Addressed by: https://review.openstack.org/146290
    Add tests for objects

Test coverage has increased from 55% to 70% in the last 3 weeks. Good job everyone - keep up the good work!

Addressed by: https://review.openstack.org/148113
    Add more tests for test_objects.py

Addressed by: https://review.openstack.org/149156
    Rest back objects for test_objects

Gerrit topic: https://review.openstack.org/#q,topic:bp/multi-tenant,n,z

Addressed by: https://review.openstack.org/149916
    Add tests for Bay API

Addressed by: https://review.openstack.org/151356
    Add tests for Pod api

Addressed by: https://review.openstack.org/152631
    Add tests for Service Rest API

Addressed by: https://review.openstack.org/153279
    Add tests for Replication Controller Rest API

Addressed by: https://review.openstack.org/153280
    Add tests for Node Rest API

Addressed by: https://review.openstack.org/156019
    Do not call get_json() in TestPost

Addressed by: https://review.openstack.org/156098
    Do not call get_json() in TestPost

Addressed by: https://review.openstack.org/159470
    Do not call get_json() in TestPatch

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.