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