Add standard code coverage configuration file

Add the .coveragerc configuration consistent with other projects,
specifically to define including branch = True and omit including
tests in the coverage reports

Change-Id: Icb1989e4828ac380acc9a395b241fdf592c7d022
This commit is contained in:
Ronald Bradford 2015-10-05 13:32:44 -04:00
parent 449062bf02
commit 6c86efc1a3
2 changed files with 9 additions and 1 deletions

8
.coveragerc Normal file
View File

@ -0,0 +1,8 @@
[run]
branch = True
source = heatclient
omit = heatclient/tests/*,heatclient/openstack/*
[report]
ignore_errors = True
precision = 2

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
.coverage
.coverage*
.venv
*,cover
cover