diff options
-rw-r--r-- | CHANGES | 7 | ||||
-rw-r--r-- | coverage/control.py | 7 |
2 files changed, 13 insertions, 1 deletions
@@ -2,6 +2,13 @@ CHANGE HISTORY for coverage.py
------------------------------
+Version 3.0b2
+-------------
+
+Continued refactoring.
+
+-
+
Version 3.0b1
-------------
diff --git a/coverage/control.py b/coverage/control.py index 4f3a3f5..cd1a515 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -152,8 +152,13 @@ class coverage: return (filename, statements, excluded, missing, format_lines(statements, missing)) - # Programmatic entry point def report(self, morfs, show_missing=True, ignore_errors=False, file=None): + """Write a summary report to `file`. + + Each module in `morfs` is listed, with counts of statements, executed + statements, missing statements, and a list of lines missed. + + """ reporter = SummaryReporter(self, show_missing, ignore_errors) reporter.report(morfs, outfile=file) |