Re: [Openstack] Test Frameworks ...

2010-11-22 Thread Eric Day
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

Re: [Openstack] Test Frameworks ...

2010-11-22 Thread Jay Pipes
On Mon, Nov 22, 2010 at 4:20 PM, Michael Gundlach wrote: > On Mon, Nov 22, 2010 at 9:33 AM, Jay Pipes wrote: >> >> I would prefer option #1 and to get rid of run_tests.py entirely. >> With nose, it's not useful at all.  So, I would change the >> run_tests.sh script to run nosetests instead of run

Re: [Openstack] Test Frameworks ...

2010-11-22 Thread Michael Gundlach
On Mon, Nov 22, 2010 at 9:33 AM, Jay Pipes wrote: > I would prefer option #1 and to get rid of run_tests.py entirely. > With nose, it's not useful at all. So, I would change the > run_tests.sh script to run nosetests instead of run_tests.py...this is > I vote we also get rid of run_tests.sh and

Re: [Openstack] Test Frameworks ...

2010-11-22 Thread Jay Pipes
Hi Sandy! Comments inline :) On Mon, Nov 22, 2010 at 8:37 AM, Sandy Walsh wrote: > Hi y'all, > I'm working on the Admin API blueprint > https://blueprints.launchpad.net/nova/+spec/admin-only-api > And while looking at the code I discovered that the openstack API unittests > were only available vi

[Openstack] Test Frameworks ...

2010-11-22 Thread Sandy Walsh
Hi y'all, I'm working on the Admin API blueprint https://blueprints.launchpad.net/nova/+spec/admin-only-api And while looking at the code I discovered that the openstack API unittests were only available via nosetests and don't get run from runtests.py. The reason being that nosetests uses an a