cloudstack/tools/testClient
Prasanna Santhanam 9c8f989d6b typos and other fixes 2011-12-29 17:28:58 +05:30
..
pymysql fix typo 2011-08-10 18:37:34 -07:00
resourceMgrTest Bug 11522 - New agent manager 2011-10-19 17:51:20 -07:00
sandbox typos and other fixes 2011-12-29 17:28:58 +05:30
testcase testClient: add timestamp for sync job 2011-08-25 18:56:28 -07:00
unitTest - some quick environment configuration files 2011-11-29 23:30:38 +05:30
.project fix typo 2011-08-10 18:37:34 -07:00
.pydevproject fix typo 2011-08-10 18:37:34 -07:00
README Added more reporting, Fixed bug with setting globals, Added info to README, minor tweaks 2011-11-20 18:04:55 -06:00
TestCaseExecuteEngine.py a. Test Discovery is only found in python 2.7+. unittest2 makes it backwards compatible for python 2.4-2.6 2011-08-25 19:52:30 +05:30
asyncJobMgr.py Add storage migration 2011-10-24 15:59:47 -07:00
cloudstackConnection.py Add storage migration 2011-10-24 15:59:47 -07:00
cloudstackException.py fix typo 2011-08-10 18:37:34 -07:00
cloudstackTestCase.py 1. correcting the global property 2. handling the case if unittest2 is present 2011-08-29 18:44:57 +05:30
cloudstackTestClient.py TestClient: use json instead of painful XML 2011-08-25 18:56:05 -07:00
codegenerator.py fix conflict 2011-08-24 18:47:09 -07:00
configGenerator.py typos and other fixes 2011-12-29 17:28:58 +05:30
dbConnection.py a. Test Discovery is only found in python 2.7+. unittest2 makes it backwards compatible for python 2.4-2.6 2011-08-25 19:52:30 +05:30
deployAndRun.py add more test cases 2011-08-18 10:51:38 -07:00
deployDataCenter.py typos and other fixes 2011-12-29 17:28:58 +05:30
jsonHelper.py - when de-serializing back to python from json, python attribute must be built 2011-11-30 17:42:40 +05:30
remoteSSHClient.py fix typo 2011-08-10 18:37:34 -07:00
translator.py Added more reporting, Fixed bug with setting globals, Added info to README, minor tweaks 2011-11-20 18:04:55 -06:00

README

CloudStack Test Client

0. Generate API XML spec file
   ant build-apidocs, the output xml file is dist/commands.xml

1. generate Cloudstack API python code from an API XML spec file generated by step 0
   python codegenerator.py  -o where-to-put-the-cloudstack-api -s where-the-spec-file

1a. If you will be running XML based tests, you will need to run them through the
    translator script.  To do that execute translator.py -h for command line help.
    Example:
	python translator.py -i example.xml 

	this will create an example.xml.py script in the current directory.  Run
	that to run the test.


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 unitTest