<div dir="ltr">Hi Jay,<div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>Thanks</div><div>Georgy</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 26, 2013 at 2:50 PM, Jay Pipes <span dir="ltr"><<a href="mailto:jaypipes@gmail.com" target="_blank">jaypipes@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 12/26/2013 03:34 PM, Georgy Okrokvertskhov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
In Solum project we decided to write functional\integration tests from<br>
the very beginning.<br>
</blockquote>
<br></div>
++! :)<div class="im"><br>
<br>
> Initially we used pecan testing framework, but after<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
discussion we moved to standard HTTP client approach used in other<br>
projects. In order to simplify further integration with Tempest when<br>
Solum will apply for incubation, we started to think how to write<br>
functional test cases to minimize efforts for tempest integration in the<br>
future.<br>
<br>
After some learning of tempest code we figured out that direct usage of<br>
existing tempest code will be overcomplicated at this stage.<br>
</blockquote>
<br></div>
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.<div class="im">
<br>
<br>
> We decided<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
to use tempest approach and part of tempest framework independently from<br>
tempest itself.<br>
Here is a patch with the example how we use tempest approach by<br>
extracting core tempest parts and using them independently.<br>
  <a href="https://review.openstack.org/#/c/64165/" target="_blank">https://review.openstack.org/#<u></u>/c/64165/</a> <<br>
<a href="https://review.openstack.org/#/c/64165/" target="_blank">https://review.openstack.org/#<u></u>/c/64165/</a>><br>
<br>
It will be great to have some feedback from tempest team. If this<br>
approach is valid it can be used by other projects who want to write<br>
tempest like tests without having whole huge tempest infrastructure.<br>
</blockquote>
<br></div>
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.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think some part of tempest can be extracted and converted to some<br>
common testing framework, probably as a oslo library part.<br>
</blockquote>
<br></div>
++<br>
<br>
Best,<br>
-jay<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Georgy<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
<br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>
</div></div>