Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-09 Thread Jay Pipes
On 05/03/2012 03:54 PM, Daryl Walleck wrote: So my first question is around this. So is the claim is that the client tools are the default interface for the applications? Sorry, perhaps a better term would have been the most common interface to OpenStack Compute... While that works for

Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-09 Thread Jay Pipes
On 05/03/2012 10:54 PM, Maru Newby wrote: The rest api is the default interface, and the client tools target that interface. Since the clients are cli more than python api, they can be used by any language that can use a shell. What exactly does reimplementing the clients for the sake of testing

Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-08 Thread Tim Simpson
Walleck [daryl.wall...@rackspace.com] Sent: Friday, May 04, 2012 12:03 AM To: Maru Newby Cc: Rick Lopez; openstack-qa-t...@lists.launchpad.net; openstack@lists.launchpad.net Subject: Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts Perhaps it's just me, but given if I

Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-08 Thread Thompson Lee
To: Maru Newby Cc: Rick Lopez; openstack-qa-t...@lists.launchpad.net; openstack@lists.launchpad.net Subject: Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts Perhaps it's just me, but given if I was developing in a different language, I would not want to use

Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-08 Thread Daryl Walleck
] Aligning smoke / acceptance / promotion test efforts Perhaps it's just me, but given if I was developing in a different language, I would not want to use a command line tool to interact with my application. What is the point then of developing RESTful APIs if the primary client

Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-04 Thread John Garbutt
+1 to this plan From the above, I would surmise that smoke tests should have all three of the following characteristics: * Test basic operations of an API, usually in a specific order that makes sense as a bare-bones use case of the API * Test only the correct action paths -- in other

Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-04 Thread Karajgi, Rohit
=nttdata@lists.launchpad.net [mailto:openstack-bounces+rohit.karajgi=nttdata@lists.launchpad.net] On Behalf Of Daryl Walleck Sent: Friday, May 04, 2012 1:24 AM To: Jay Pipes Cc: openstack-qa-t...@lists.launchpad.net; openstack@lists.launchpad.net Subject: Re: [Openstack] [QA] Aligning smoke

Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-03 Thread Daryl Walleck
So my first question is around this. So is the claim is that the client tools are the default interface for the applications? While that works for coders in python, what about people using other languages? Even then, there's no guarantee that the clients in different languages are implemented

Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-03 Thread Maru Newby
The rest api is the default interface, and the client tools target that interface. Since the clients are cli more than python api, they can be used by any language that can use a shell. What exactly does reimplementing the clients for the sake of testing accomplish? Double the maintenance

Re: [Openstack] [QA] Aligning smoke / acceptance / promotion test efforts

2012-05-03 Thread Daryl Walleck
Perhaps it's just me, but given if I was developing in a different language, I would not want to use a command line tool to interact with my application. What is the point then of developing RESTful APIs if the primary client is not it, but these command line tools instead? While it may appear