← Back to team overview

openstack team mailing list archive

Re: Test Frameworks ...

 

On 11/22/2010 02:51 PM, Eric Day wrote:
> 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'.

++

It's very important to be able to easily run both with depends installed
and using virtualenv.



References