<div dir="ltr">Very useful information. Thanks, Assaf. </div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Fawad Khaliq<div><br></div></div></div></div>
<br><div class="gmail_quote">On Thu, Dec 10, 2015 at 6:26 AM, Assaf Muller <span dir="ltr"><<a href="mailto:amuller@redhat.com" target="_blank">amuller@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Today we merged [1] which adds content to the Neutron testing guidelines:<br>
<a href="http://docs.openstack.org/developer/neutron/devref/development.environment.html#testing-neutron" rel="noreferrer" target="_blank">http://docs.openstack.org/developer/neutron/devref/development.environment.html#testing-neutron</a><br>
<br>
The document details Neutron's different testing infrastructures:<br>
* Unit<br>
* Functional<br>
* Fullstack (Integration testing with services deployed by the testing<br>
infra itself)<br>
* In-tree Tempest<br>
<br>
The new documentation provides:<br>
* Examples<br>
* Do's and don'ts<br>
* Good and bad usage of mock<br>
* The anatomy of a good unit test<br>
<br>
And primarily the advantages and use cases for each testing framework.<br>
<br>
It's short - I encourage developers to go through it. Reviewers may<br>
use it as reference / link when testing anti-pattern pop up.<br>
<br>
Please send feedback on this thread or better yet in the form of a<br>
devref patch. Thank you!<br>
<br>
<br>
[1] <a href="https://review.openstack.org/#/c/245984/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/245984/</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>