[Openstack] Test Frameworks ...

Eric Day eday at oddments.org
Mon Nov 22 22:51:55 UTC 2010


On Mon, Nov 22, 2010 at 05:44:38PM -0500, Jay Pipes wrote:
> On Mon, Nov 22, 2010 at 4:20 PM, Michael Gundlach
> > I vote we also get rid of run_tests.sh and the unit test base class, so we
> > aren't tempted to add dependencies required for nova tests to run.  Running
> > tests then becomes typing "nosetests" in nova/tests.
> 
> Hmm, not quite. :) run_tests.sh has some niceness in it to setup,
> install dependencies to, and execute tests in a virtual env.

I'd vote for run_tests.sh being optional if you want the virtualenv
setup, but if you don't use virtualenv and have the dependencies
already, everything should just work by running 'nosetests'.

-Eric




More information about the Openstack mailing list