<div dir="ltr"><div><div><div><div><div><div>Thanks Salvatore and Tom for your response.<br><br></div>Yes, we were able to write data driven tests in two ways:<br><br></div>(1) using ddt package - needs to be installed separately and invoke the module when writing the tests<br></div>(2) using testscenarios package - this package is already installed and being used in neutron projects. Except for one project, rest are using testscenarios.<br><br></div>Hence, the community have decided to stick with option 2 in neutron-lbaas tree, to follow same process.<br><br></div>Regards,<br></div>Madhusudhan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 4, 2015 at 3:08 AM, Tom Barron <span dir="ltr"><<a href="mailto:tpb@dyncloud.net" target="_blank">tpb@dyncloud.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 5/4/15 3:05 AM, Salvatore Orlando wrote:<br>
> Among the OpenStack project of which I have some knowledge, none of them<br>
> uses any DDT library.<br>
<br>
</span>FYI, manila uses DDT for unit tests.<br>
<span class=""><br>
> If you think there might be a library from which lbaas, neutron, or any<br>
> other openstack project might take advantage, we should consider it.<br>
><br>
> Salvatore<br>
><br>
> On 14 April 2015 at 20:33, Madhusudhan Kandadai<br>
> <<a href="mailto:madhusudhan.openstack@gmail.com">madhusudhan.openstack@gmail.com</a><br>
</span><span class="">> <mailto:<a href="mailto:madhusudhan.openstack@gmail.com">madhusudhan.openstack@gmail.com</a>>> wrote:<br>
><br>
> Hi,<br>
><br>
> I would like to start a thread for the tempest DDT in neutron-lbaas<br>
> tree. The problem comes in when we have testcases for both<br>
> admin/non-admin user. (For example, there is an ongoing patch<br>
> activity: <a href="https://review.openstack.org/#/c/171832/" target="_blank">https://review.openstack.org/#/c/171832/</a>). Ofcourse it has<br>
> duplication and want to adhere as per the tempest guidelines. Just<br>
> wondering, whether we are using DDT library in other projects, if it<br>
> is so, can someone please point me the sample code that are being<br>
> used currently. It can speed up this DDT activity for neutron-lbaas.<br>
><br>
<br>
</span> $ grep -R '@ddt' manila/tests/ | wc -l<br>
198<br>
<span class=""><br>
> In the meantime, I am also gathering/researching about that. Should<br>
> I have any update, I shall keep you posted on the same.<br>
><br>
> Thanks,<br>
> Madhusudhan<br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe:<br>
> <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
</span>> <<a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<span class="">><br>
><br>
><br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
</span>Regards,<br>
<br>
-- Tom<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>