cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasanna Santhanam <...@apache.org>
Subject Re: [MERGE] Merge vim51_win8 to master (Vmware SDK upgrade)
Date Fri, 01 Mar 2013 12:22:08 GMT
On Thu, Feb 28, 2013 at 11:16:17PM +0530, Min Chen wrote:
> Prasanna, do you have a sample cfg file you can share to run marvin test
> against vmware environment?
> 

Min, you don't need a separate config file per hypervisor. once you've
added the vsphere managed cluster to your CS running from your dev
environment you can use tools/devcloud/devcloud.cfg for running these
tests. All marvin requires is the location to your management server
and the db.

There is a sample config with this information in: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Testing+with+Python#TestingwithPython-FirstSteps

Steps to run the tests:

On compiling with the developer profile marvin should have been
packaged into tools/marvin/dist/Marvin-0.1.0.tar.gz. You can install
it in a virtualenv or install it system-wide

$ cd tools/marvin/dist
$ pip install Marvin-0.1.0.tar.gz

marvin will have installed nose along with it as a dependency

Register the marvin-nose plugin
$ cd tools/marvin/marvin
$ pip install .

check that marvin is registered with nose

$ nosetests -p
Plugin xunit
Plugin multiprocess
Plugin logcapture
Plugin marvin
Plugin attributeselector

Now you can run tests tagged by devcloud in the test suite.

$ nosetests -v --with-marvin --marvin-config=tools/devcloud/devcloud.cfg --load -w test/integration/smoke
-a tags='devcloud'
-- 
Prasanna.,

Mime
View raw message