<div dir="ltr"><div><div><div><div><div><div>Hi all,<br><br></div>I suggest to add CI 
job which will check the unit tests coverage for Sahara repository and 
will set -1 for commits with new code and without unit tests (if we have
 some degradation of tests coverage).<br></div>This job successfully 
works for Rally project and it helps to organize the right code 
development process when developers write new unit tests for new 
functionality.<br><br></div>we can just copy this job from Rally and start to use it for Sahara:<br></div>Coverage control script: <a href="https://github.com/openstack/rally/blob/master/tests/ci/cover.sh">https://github.com/openstack/rally/blob/master/tests/ci/cover.sh</a><br></div>Configuration file for coverage plugin (to exclude code which shouldn't be affected): <a href="https://github.com/openstack/rally/blob/master/.coveragerc">https://github.com/openstack/rally/blob/master/.coveragerc</a><br></div>Example of job in infra repository: <a href="https://github.com/openstack-infra/project-config/blob/master/zuul/layout.yaml#L4088">https://github.com/openstack-infra/project-config/blob/master/zuul/layout.yaml#L4088</a><br clear="all"><div><br></div>I expect that it will help to increase the tests coverage by unit tests.<br><br>Do we have any objections?<br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font color="#888888"><font color="#888888"><br></font></font><div style="font-family:arial;font-size:small">Timur,</div><div style="font-family:arial;font-size:small">Senior QA Engineer</div><div style="font-family:arial;font-size:small">OpenStack Projects</div><div style="font-family:arial;font-size:small">Mirantis Inc</div></div></div></div></div></div></div>
</div>