cloudstack/tools/marvin
Prasanna Santhanam 780468659f uniting the READMEs
Many READMEs spread over the integration and marvin test related
information can now be found in the single top-level directory
2012-10-12 16:07:03 +05:30
..
marvin uniting the READMEs 2012-10-12 16:07:03 +05:30
CHANGES.txt Missing LICENSE headers for sandbox and __init__.py's 2012-08-04 17:29:47 +05:30
LICENSE.txt committing some more changes to marvins license headers 2012-07-04 18:50:49 -04:00
MANIFEST.in Missing LICENSE headers for sandbox and __init__.py's 2012-08-04 17:29:47 +05:30
README uniting the READMEs 2012-10-12 16:07:03 +05:30
setup.py Removing pymysql and including it as setup dependency 2012-08-04 17:17:11 +05:30

README

Marvin is the testing framework for CloudStack written in python. Writing of
unittests and functional tests with Marvin makes testing with cloudstack easier

1. INSTALL 
    untar Marvin-0.1.0.tar.gz 
    cd Marvin-0.1.0
    python setup.py install

2. Facility it provides:
   1. very handy cloudstack API python wrapper
   2. support async job executing in parallel
   3. remote ssh login/execute command
   4. mysql query 

3. sample code is under sandbox. To generate the config for a deployment.

Alter the .properties file in the sandbox. For example the
simualtordemo.properties after modification can generate the config file as
shown below

$ python simulator_setup.py -i simulatordemo.properties -o simulatordemo.cfg

To deploy the environment and run the tests

$ python -m marvin.deployAndRun -c simulatordemo.cfg -t /tmp/t.log -r /tmp/r.log -d testcase

4. WIKI page
   https://cwiki.apache.org/confluence/display/CLOUDSTACK/Testing+with+Python