cloudstack/tools/testClient/testcase/BVT-tests
Chirag Jog ae0896ccf8 The main features being added are:
1. Add support for Snapshot tests
2. Add Support for Disk offerings tests
3. Add Support for Service offerings tests
4. Add Support to test Volume creation for all available disk offerings
5. Rename Server as VirtualMachine
2011-12-29 06:01:22 -08:00
..
README Update the README 2011-12-25 23:31:04 -08:00
__init__.py Created BVT Tests for VM Life Cycle and Volumes 2011-12-24 05:33:22 -08:00
base.py The main features being added are: 2011-12-29 06:01:22 -08:00
settings.py The main features being added are: 2011-12-29 06:01:22 -08:00
test_disk_offerings.py The main features being added are: 2011-12-29 06:01:22 -08:00
test_service_offerings.py The main features being added are: 2011-12-29 06:01:22 -08:00
test_snapshots.py The main features being added are: 2011-12-29 06:01:22 -08:00
test_vm_life_cycle.py The main features being added are: 2011-12-29 06:01:22 -08:00
test_volumes.py The main features being added are: 2011-12-29 06:01:22 -08:00
utils.py The main features being added are: 2011-12-29 06:01:22 -08:00

README

Build Verification Testing (BVT) Cases
--------------------------------------
The test cases are the core functionality tests that ensure the application is stable and can be handed over to the QA for testing.
The BVT cases definitions are located at : https://docs.google.com/a/cloud.com/spreadsheet/ccc?key=0Ak8acbfxQG8ndEppOGZSLV9mUF9idjVkTkZkajhTZkE&invite=CPij0K0L


Guidelines for developing Tests
-------------------------------
BVT test cases are being developed using Python's unittests2. Following are the guidelines being followed:
    1. Tests exercised for the same resource should ideally be present under a single suite or file. eg.
        All tests related VMs should ideally be present in a same test suite.

    2. Time-consuming operations that create new cloud resources like servers, volumes etc 
        should not necessarily be exercised per unit test. The resources can be created once and will be shared
        by all the unit tests in the test suite. 

    3. Certain tests pertaining to NAT, Firewall and Load Balancing warrant fresh resources per test. Hence a call should be
        taken by the stakeholders regarding sharing resources in such scenarios.

    4. Ensure that the functions are in place that clean up all the resources created during the test run. 

For more information about unittests: http://docs.python.org/library/unittest.html


BVT Test Files
--------------
The following files contain these BVT cases:

1. test_vm_life_cycle.py contains all the  VM Life Cycle tests
2. test_volumes.py contains all the Volumes related tests