[openstack-dev] unittests on devstack hosts

John Griffith john.griffith at solidfire.com
Tue Jun 18 20:03:55 UTC 2013


+1 on both A and B, I do this currently by installing test-requires via my
setup script.  IMO it's quite nice to do feature dev, function and unit
testing all in one shot.


On Tue, Jun 18, 2013 at 1:49 PM, Monty Taylor <mordred at inaugust.com> wrote:

>
>
> On 06/18/2013 10:35 AM, Ben Nemec wrote:
> > On 2013-06-17 18:06, Monty Taylor wrote:
> >> - Should unittests work outside of a venv on a devstack host.
> >>
> >> I argue yes. I see absolutely no reason why it shouldn't work - all of
> >> the depends should be installed - and openstack itself is installed -
> >> why wouldn't running the unittests using the repos that are on the host
> >> work?
> >>
> >> Thoughts? Agreement? Disagreement?
> >
> > I agree.  The only situation where I wouldn't expect this to work is
> > when dependencies change after stack.sh is run and the local Git repos
> > are updated manually, but that's obviously beyond devstack's control.
> >
> > Is the argument here about whether to include test requirements in the
> > list of what devstack installs?  I didn't see the discussion on -infra
> > so I'm kind of commenting in a vacuum.
>
> Two fold.
>
> A - should devstack install the combined test-requirements as well.
> B - is it a thing we should expect to work - and if so, should we, you
> know, make sure it does by testing it
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130618/375e8971/attachment.html>


More information about the OpenStack-dev mailing list