Re: [openstack-dev] [Tempest][Solum] Writing functional tests in tempest style

2014-01-07 Thread Georgy Okrokvertskhov
Hi Jay,

Thank you very much for working on that!

Thanks
Georgy


On Tue, Jan 7, 2014 at 12:50 PM, Jay Pipes  wrote:

> On Mon, 2014-01-06 at 11:46 -0800, Georgy Okrokvertskhov wrote:
>
> > Thank you for your input. Right now this approach allows to run
> > integration tests with and without tempest. I think this is valuable
> > for the project as anyone can run integration tests on their laptop
> > having only keystone available.
> >
> > It will be great to have some input from Tempest team. Can we extract
> > some core tempest component to create a testing framework for projects
> > on stackforge? Having common integration test framework in tempest
> > style will help further project integration to OpenStack ecosystem
> > during incubation.
>
> Hi Georgy,
>
> I created a blueprint for tracking this work:
>
>
> https://blueprints.launchpad.net/tempest/+spec/split-out-reusable-tempest-library
>
> If I have some time this week, I'll look into estimating various
> breakout work items for the blueprint.
>
> Best,
> -jay
>
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Georgy Okrokvertskhov
Technical Program Manager,
Cloud and Infrastructure Services,
Mirantis
http://www.mirantis.com
Tel. +1 650 963 9828
Mob. +1 650 996 3284
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Tempest][Solum] Writing functional tests in tempest style

2014-01-07 Thread Jay Pipes
On Mon, 2014-01-06 at 11:46 -0800, Georgy Okrokvertskhov wrote:

> Thank you for your input. Right now this approach allows to run
> integration tests with and without tempest. I think this is valuable
> for the project as anyone can run integration tests on their laptop
> having only keystone available.
> 
> It will be great to have some input from Tempest team. Can we extract
> some core tempest component to create a testing framework for projects
> on stackforge? Having common integration test framework in tempest
> style will help further project integration to OpenStack ecosystem
> during incubation.

Hi Georgy,

I created a blueprint for tracking this work:

https://blueprints.launchpad.net/tempest/+spec/split-out-reusable-tempest-library

If I have some time this week, I'll look into estimating various
breakout work items for the blueprint.

Best,
-jay



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Tempest][Solum] Writing functional tests in tempest style

2014-01-06 Thread Georgy Okrokvertskhov
Hi Jay,

Thank you for your input. Right now this approach allows to run integration
tests with and without tempest. I think this is valuable for the project as
anyone can run integration tests on their laptop having only keystone
available.

It will be great to have some input from Tempest team. Can we extract some
core tempest component to create a testing framework for projects on
stackforge? Having common integration test framework in tempest style will
help further project integration to OpenStack ecosystem during incubation.

Thanks
Georgy


On Thu, Dec 26, 2013 at 2:50 PM, Jay Pipes  wrote:

> On 12/26/2013 03:34 PM, Georgy Okrokvertskhov wrote:
>
>> Hi,
>>
>> In Solum project we decided to write functional\integration tests from
>> the very beginning.
>>
>
> ++! :)
>
>
> > Initially we used pecan testing framework, but after
>
>> discussion we moved to standard HTTP client approach used in other
>> projects. In order to simplify further integration with Tempest when
>> Solum will apply for incubation, we started to think how to write
>> functional test cases to minimize efforts for tempest integration in the
>> future.
>>
>> After some learning of tempest code we figured out that direct usage of
>> existing tempest code will be overcomplicated at this stage.
>>
>
> Yes, because unfortunately at this time, Tempest does not have a Python
> lib that can be import'd and used easily by other projects. We really
> should have such a thing, to make adding functional integration tests to
> non-integrated projects like Solum easier.
>
>
> > We decided
>
>> to use tempest approach and part of tempest framework independently from
>> tempest itself.
>> Here is a patch with the example how we use tempest approach by
>> extracting core tempest parts and using them independently.
>>   https://review.openstack.org/#/c/64165/ <
>> https://review.openstack.org/#/c/64165/>
>>
>> It will be great to have some feedback from tempest team. If this
>> approach is valid it can be used by other projects who want to write
>> tempest like tests without having whole huge tempest infrastructure.
>>
>
> I think the approach you've taken in the above review is the appropriate
> one at this time. It will make eventual inclusion into tempest when/if
> Solum is integrated quite easy.
>
>
>  I think some part of tempest can be extracted and converted to some
>> common testing framework, probably as a oslo library part.
>>
>
> ++
>
> Best,
> -jay
>
>
>> Thanks,
>> Georgy
>>
>>
>> ___
>> OpenStack-dev mailing list
>> OpenStack-dev@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Tempest][Solum] Writing functional tests in tempest style

2013-12-26 Thread Jay Pipes

On 12/26/2013 03:34 PM, Georgy Okrokvertskhov wrote:

Hi,

In Solum project we decided to write functional\integration tests from
the very beginning.


++! :)

> Initially we used pecan testing framework, but after

discussion we moved to standard HTTP client approach used in other
projects. In order to simplify further integration with Tempest when
Solum will apply for incubation, we started to think how to write
functional test cases to minimize efforts for tempest integration in the
future.

After some learning of tempest code we figured out that direct usage of
existing tempest code will be overcomplicated at this stage.


Yes, because unfortunately at this time, Tempest does not have a Python 
lib that can be import'd and used easily by other projects. We really 
should have such a thing, to make adding functional integration tests to 
non-integrated projects like Solum easier.


> We decided

to use tempest approach and part of tempest framework independently from
tempest itself.
Here is a patch with the example how we use tempest approach by
extracting core tempest parts and using them independently.
  https://review.openstack.org/#/c/64165/ <
https://review.openstack.org/#/c/64165/>

It will be great to have some feedback from tempest team. If this
approach is valid it can be used by other projects who want to write
tempest like tests without having whole huge tempest infrastructure.


I think the approach you've taken in the above review is the appropriate 
one at this time. It will make eventual inclusion into tempest when/if 
Solum is integrated quite easy.



I think some part of tempest can be extracted and converted to some
common testing framework, probably as a oslo library part.


++

Best,
-jay



Thanks,
Georgy


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Tempest][Solum] Writing functional tests in tempest style

2013-12-26 Thread Georgy Okrokvertskhov
Hi,

In Solum project we decided to write functional\integration tests from the
very beginning. Initially we used pecan testing framework, but after
discussion we moved to standard HTTP client approach used in other
projects. In order to simplify further integration with Tempest when Solum
will apply for incubation, we started to think how to write functional test
cases to minimize efforts for tempest integration in the future.

After some learning of tempest code we figured out that direct usage of
existing tempest code will be overcomplicated at this stage. We decided to
use tempest approach and part of tempest framework independently from
tempest itself.
Here is a patch with the example how we use tempest approach by extracting
core tempest parts and using them independently.
 
https://review.openstack.org/#/c/64165/

It will be great to have some feedback from tempest team. If this approach
is valid it can be used by other projects who want to write tempest like
tests without having whole huge tempest infrastructure.

I think some part of tempest can be extracted and converted to some common
testing framework, probably as a oslo library part.

Thanks,
Georgy
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev