Rally functional testing

Registered by Sergey Skripnick

Rally integration testing (CLI)

Integrated tests are done using unittest module. Rally CLI commands are called by test_whatever methods of RallyCliWhateverTestCase class.

Sample testCase:
https://github.com/stackforge/rally/blob/b6bb8fbcb9a81d82601fd11ad5b97aed8becb59a/tests_ci/test_cli.py#L92-L99

Helper functions are used for calling CLI commands and checking outputs and exit codes.

Sample helper function:
https://github.com/stackforge/rally/blob/b6bb8fbcb9a81d82601fd11ad5b97aed8becb59a/tests_ci/test_cli.py#L56-L89

Blueprint information

Status:
Complete
Approver:
Boris Pavlovic
Priority:
Medium
Drafter:
Sergey Skripnick
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Sergey Skripnick
Completed by
Boris Pavlovic

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/118714
    Rally cli functional testing

(?)

Work Items

Work items:
organize a test module structure: DONE
tests for deployment commands: DONE
tests for show commands: DONE
tests for task commands: DONE
tests for info commands: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.