[Openstack] [OpenStack][Nova] Minimum required code coverage per file

Michael Pittaro mikeyp at lahondaresearch.org
Wed Apr 25 13:34:37 UTC 2012


On Tue, Apr 24, 2012 at 1:11 PM, Joe Gordon <jogo at cloudscaling.com> wrote:
> Hi All,
>
> I would like to propose a minimum required code coverage level per file in
> Nova.  Say 80%.  This would mean that any new feature/file should only be
> accepted if it has over 80% code coverage.  Exceptions to this rule would be
> allowed for code that is covered by skipped tests (as long as 80% is reached
> when the tests are not skipped).
>

+1

Paying attention to code coverage in unit tests has always served me
well in the past.

mike




More information about the Openstack mailing list