summaryrefslogtreecommitdiff
path: root/coverage/summary.py
Commit message (Collapse)AuthorAgeFilesLines
* report must ignore skipped files #524issue-524-2loic2016-12-121-27/+42
| | | | | | When files are 100% covered and --skipped-covered is specified, they must not be taken into account to format the text report. It is specially useful when a long filename is skipped.
* Properly handle invalid sorting optionNed Batchelder2016-06-091-0/+2
|
* Fix these new tests to really test the codeNed Batchelder2016-06-091-2/+3
|
* More tweaks to report sortingNed Batchelder2016-06-091-10/+15
| | | | | | | | * Option is case-insensitive. * Can no longer sort by "Missing", because it's nonsense. * Can sort by the branch-sensitive columns.
* Issue 199: Sort text report.Dan Wandschneider2016-06-081-2/+18
| | | | | | | | | | | | | | Allows sorting of the text report based on: Name, Stmts, Miss, Cover Tested on Mac with Python 2.7.11 and Python 3.5 Help message for the new option is: python -m coverage report -h ... --sort=SORT Sort report by a column. Valid values are: Name, Stmts, Miss, Cover. ...
* This didn't need to be an attribute on the objectNed Batchelder2016-05-101-3/+3
|
* Add a missing docstring.Ned Batchelder2016-01-181-0/+1
|
* Plain-text output no longer includes trailing spacesNed Batchelder2016-01-171-9/+8
|
* Try a different strategy for setting and testing output encodingsNed Batchelder2015-10-311-3/+2
|
* Properly handle filenames with non-ASCII characters. #432Ned Batchelder2015-10-251-23/+31
|
* --skip-covered shouldn't change the final result. #423.Ned Batchelder2015-10-101-1/+1
|
* Clean ups from PR 66Ned Batchelder2015-08-151-5/+5
|
* Fix no data and skip-covered.garar2015-08-141-1/+1
|
* Merge defaultgarar2015-08-141-1/+10
|\
| * Update skip_covered handling, add info when files are skipped. Tests.garar2015-08-141-1/+10
| |
* | Merged ned/coveragepy into defaultKrystian Kichewko2015-08-141-1/+1
|\ \ | |/
| * Do not raise an exception for empty summary when using skip_covered.garar2015-08-121-1/+1
| |
* | Simplify the skip_covered logicNed Batchelder2015-08-131-4/+1
|/
* Remove should_be_python from the FileReporter interfaceNed Batchelder2015-08-091-0/+2
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-0/+3
|
* Remove the last vestige of FileReporter.nameNed Batchelder2015-07-041-3/+3
|
* Add missing import. Add assertions for 'No data to report.' in output.Ionel Cristian Maries2015-06-281-1/+1
|
* Make return codes consistent: 1 for no data and 2 for fail_under. Now the ↵Ionel Cristian Maries2015-06-281-1/+2
| | | | `report` command will properly report `No data to report` if there's no data.
* Make the summary return 0 instead.Ionel Cristian Maries2015-06-281-1/+1
|
* Remove every last trace of CodeUnit, and bring me a glass of vodkaNed Batchelder2015-02-221-7/+7
|
* Refactor some of the encoding detectionNed Batchelder2014-12-271-1/+1
|
* Unify and clarify reading Python source. Probably broke .pyw filesNed Batchelder2014-12-261-1/+1
|
* Remove needless KeyboardInterrupt catchingNed Batchelder2014-11-231-2/+0
|
* Clean up the --skip-covered pull request.Ned Batchelder2014-11-231-3/+11
|
* Add skip-covered option.Krystian Kichewko2014-11-191-0/+3
|
* Make the text report branch column match the HTML reportNed Batchelder2014-10-201-3/+3
|
* Pylint upgrade and cleanup.Ned Batchelder2014-09-211-1/+1
|
* Improve branch summarizationNed Batchelder2014-07-081-7/+6
| | | | | It failed completely on more than one file! Removed the Branches label, and no longer report missing branches implied by missing lines.
* Fix formatting when no missing lines; improve testsSteve2014-05-261-1/+9
|
* Switch to our own prama syntax, so the tests can use the std without getting ↵Ned Batchelder2012-12-011-1/+1
| | | | mixed up.
* Branch coverage is computed more accurately, #156.Ned Batchelder2012-11-191-1/+1
|
* The reporting functions now return a float, the total percentage covered.Ned Batchelder2012-11-031-0/+2
|
* Test (and fix) the summary reporting failures due to not being able to parse ↵Ned Batchelder2012-04-201-1/+1
| | | | the file.
* Refactor reporters so the config is part of construction, and is then ↵Ned Batchelder2012-04-191-11/+9
| | | | available everywhere.
* Don't complain about files that can't be parsed as Python if they didn't ↵Ned Batchelder2012-04-181-1/+6
| | | | seem like Python at all. #82.
* Pass config objects around to limit the sprawl of argument lists.Ned Batchelder2010-09-021-3/+4
|
* New config setting: [report]precision lets you specify the number of digits ↵Ned Batchelder2010-08-241-2/+3
| | | | after the decimal point in coverage percentages. Finishes issue #16.
* Unify formatting of coverage percentages, and don't show zero or 100 as a ↵Ned Batchelder2010-08-221-3/+3
| | | | result of rounding. Fixes #41 and #70.
* Omit and include are now filename patterns rather than prefixes. BACKWARD ↵Ned Batchelder2010-05-231-4/+2
| | | | INCOMPATIBLE change.
* Format the code to pylint's liking, and fix up the docstrings for omit and ↵Ned Batchelder2010-05-151-6/+5
| | | | include.
* Change 'requires' to 'include'.Ned Batchelder2010-05-151-4/+4
|
* add a --require option to specify directories which are required to be at ↵Zooko Ofsimplegeo2010-04-191-3/+9
| | | | | | the beginning of the path for any file that is going to be included in code coverage make the --omit and --require options apply to code coverage generation as well as to reporting; This speeds up tests from 6 seconds to 1 second on my system, as well as making the resulting .coverage db include *only* the code that I care about, which helps with my code coverage progression/regression tool.
* Reports now emphasize missed lines over executed lines, since those are more ↵Ned Batchelder2010-03-131-6/+6
| | | | helpful for directing developers to improved test coverage.
* It helps if you exclude the proper pragma comment.Ned Batchelder2009-12-201-1/+1
|
* Massive eol whitespace clean-up.Ned Batchelder2009-12-021-3/+3
|