openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #10530
Re: [OpenStack][Nova] Minimum required code coverage per file
On Tue, Apr 24, 2012 at 1:11 PM, Joe Gordon <jogo@xxxxxxxxxxxxxxxx> 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
References