diff options
author | Dror Kagan <dror.kagan@hp.com> | 2013-01-23 11:46:29 -0800 |
---|---|---|
committer | Dror Kagan <dror.kagan@hp.com> | 2013-01-28 13:43:21 -0800 |
commit | b8766b336c306dbce8b4efc857ca7a8965d75db1 (patch) | |
tree | 2d05fb14a832dc4771c656da287cbd02575b6ce5 /.coveragerc | |
parent | 52344398dea231d6aa0857514d651d20f8008d75 (diff) | |
download | trove-b8766b336c306dbce8b4efc857ca7a8965d75db1.tar.gz |
Fixing the coverage reports for the unittests and adding support for TestR.
Now they work better and also include coverage for the tests invoked by testr.
Change-Id: Ia48cf4664ce9ec46f7ef21929b0d87cad4149580
Fixes: bug #1103637
Diffstat (limited to '.coveragerc')
-rw-r--r-- | .coveragerc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.coveragerc b/.coveragerc index 6f625763..45e8572b 100644 --- a/.coveragerc +++ b/.coveragerc @@ -2,8 +2,10 @@ [run] branch = True -timid=True -include=*reddwarf* +source=.tox/cover/lib/python2.7/site-packages/reddwarf +# replace with previous line once the python path issue is resolved and the tox.ini is fixed accordingly +# source=reddwarf +omit=*reddwarf/tests*,*reddwarf/openstack/common* [report] # Regexes for lines to exclude from consideration @@ -24,3 +26,6 @@ exclude_lines = if __name__ == .__main__.: ignore_errors = False + +[html] +directory=cover |