Skip to content

Commit f57548c

Browse files
committed
[minor] Added html coverage report with running in --with-coverage
1 parent 5d449ad commit f57548c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/run_tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,13 @@ def _initialize_coverage():
8888

8989
def _finalize_coverage(cov):
9090
"""
91-
Stops covering code and writes out coverage.xml in the current directory.
91+
Stops covering code and writes out reports.
9292
"""
9393
cov.stop()
9494
cov.report()
9595
cov.xml_report(outfile="coverage.xml")
96+
cov.html_report(directory="coverage_html_report")
97+
print "Note: Full html coverage report can be found in the coverage_html_report folder."
9698

9799

98100
def _initialize_logging(log_to_console):

0 commit comments

Comments
 (0)