openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #00085
Re: Test Frameworks ...
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
Follow ups
References