Test cases addition & cleanup

Registered by dharmendra

We are lacking in sufficient test case area, and have some issues in existing test cases, where a large numbered of test cases are not actually getting executed(skipped).
To improve code effectiveness and max coverage we should have more strict test cases for Gate.

We needs multiple improvement in test cases:

* Add more unit test cases.
* Re-factor existing test cases.
* Enable skipped test cases.
* Add/improve functional test cases.

Blueprint information

Status:
Started
Approver:
None
Priority:
High
Drafter:
dharmendra
Direction:
Needs approval
Assignee:
Yan Xing'an
Definition:
Approved
Series goal:
Accepted for stein
Implementation:
Started
Milestone target:
None
Started by
Yan Xing'an

Related branches

Sprints

Whiteboard

Please refer to the following etherpad to get more information about
 https://etherpad.openstack.org/p/test-addition-refactoring

1. cleanup total UT directories. --Done
2. cleanup&improve each directory/file in UT. --Processing
3. enable skipped UT test cases.
4. cleanup total FT directories.
5. cleanup&improve each directory/file in FT
6. enable skipped FT test cases.

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

Addressed by: https://review.openstack.org/617142
    Refactoring UT directories

Addressed by: https://review.openstack.org/617334
    Enable UT test_auth.py

Addressed by: https://review.openstack.org/617353
    Improve UT test_alarm_receiver

Addressed by: https://review.openstack.org/618000
    Support UT for agent/linux/utils.py

Addressed by: https://review.openstack.org/618151
    Fix error in resource_help and add UT

Addressed by: https://review.openstack.org/618615
    Refactoring UT test_resource

Addressed by: https://review.openstack.org/618730
    Improve UT test_resource_helper

Addressed by: https://review.openstack.org/619928
    Improve UT test_api_common

Addressed by: https://review.openstack.org/619954
    Add UT case for policy_action VNFActionLog

Addressed by: https://review.openstack.org/619609
    Improve UT test_wsgi, reduce code duplication

Addressed by: https://review.openstack.org/620107
    Improve zabbix.py, add one UT case for test_zabbix

Addressed by: https://review.openstack.org/620446
    Add UT test_router

Addressed by: https://review.openstack.org/621253
    Add UT cases for ipv6

Addressed by: https://review.openstack.org/622103
    Add UT case for policy_action VNFActionLogAndKill

Addressed by: https://review.openstack.org/624681
    Add UT cases for policy action add cases for test_autoscaling, test_respawn Partially Implements: blueprint test-addition-refactoring

Addressed by: https://review.openstack.org/633878
    Enable skipped test cases for context

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.