summaryrefslogtreecommitdiff
path: root/coverage
Commit message (Collapse)AuthorAgeFilesLines
...
| * | make --source module do the same as --source directory #426loic@dachary.org2017-01-061-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The --source argument can either be a module or a directory. The user expects that it behaves the same in both cases. Make sure the module is recursively explored so that files that are not run show in the coverage report. close #426 --HG-- branch : issue-426
* | | Python 2.6 doesn't have SkipTestNed Batchelder2017-01-141-1/+1
| | |
* | | Reporting doesn't work on Jython, so don't run reporting tests there.Ned Batchelder2017-01-144-7/+29
| | | | | | | | | | | | | | | --HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f
* | | Jython doesn't have useful co_code or f_lastiNed Batchelder2017-01-131-2/+3
| | |
* | | Jython has no multiprocessing moduleNed Batchelder2017-01-131-1/+10
| | |
* | | Delete html files when skipping covered filesNed Batchelder2017-01-111-4/+8
| | |
* | | Clean up and changes for #549Ned Batchelder2017-01-111-4/+4
| | |
* | | html total must account for files 100% covered #549loic@dachary.org2017-01-111-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The --skip-covered implementation for html must not just skip the files that are 100% covered. It must remember them and not fail with a "no coverage data" when all files are 100% covered. The statistics about the files that are 100% covered must also be summed in the total for the index.html page. close #549 --HG-- branch : issue-549
* | | Clarify the aspectlib exampleNed Batchelder2017-01-101-2/+3
|/ /
* | Small improvements to the debug stuffNed Batchelder2017-01-021-7/+13
| |
* | When nesting tracers, don't restart on the wrong threadNed Batchelder2017-01-021-3/+11
| |
* | More aspectlib improvementsNed Batchelder2017-01-021-4/+12
| |
* | Better debug log filename handling: COVERAGE_LOGNed Batchelder2017-01-011-7/+7
| |
* | Better logging file, combined with aspectlib supportNed Batchelder2017-01-011-31/+49
| |
* | The PyPy-specific test for atexit/gettrace are also PyPy-version-specific...Ned Batchelder2016-12-312-1/+3
| |
* | Remove hastiliy short-circuited check for conflicting include and sourceNed Batchelder2016-12-301-10/+0
| |
* | Don't warn about trace=None on PyPy at shutdownNed Batchelder2016-12-301-3/+12
| | | | | | | | | | | | | | | | PyPy clears the trace function before calling atexit functions. So when we check if the trace function is changed, don't warn in that specific case. --HG-- extra : amend_source : a4e946f94b9b84d351a9e112a7eea6a3337bacf1
* | Improved ad-hoc debug logger.Ned Batchelder2016-12-301-1/+12
| |
* | Prevent a hard crash when starting coverage thousands of timesNed Batchelder2016-12-291-0/+1
| |
* | Bump version to 4.3.2a0Ned Batchelder2016-12-281-1/+1
| |
* | Gearing up for 4.3.1coverage-4.3.1Ned Batchelder2016-12-281-1/+1
| |
* | Revert the check for conflicting --source and --include. Closes #541, ↵Ned Batchelder2016-12-281-0/+3
| | | | | | | | re-opens #265
* | Push version to 4.3.1a0Ned Batchelder2016-12-271-1/+1
| |
* | A better way to get good random numberscoverage-4.3Ned Batchelder2016-12-271-4/+1
| |
* | Windows Python 3.6 doesn't seed well. Hack around it.Ned Batchelder2016-12-271-0/+3
| |
* | Doc updates for 4.3Ned Batchelder2016-12-261-1/+1
| |
* | Suppress the coverage.py frame when reporting exceptionsNed Batchelder2016-12-261-0/+2
| |
* | Make excepthook execution more accurate. Pypy tests failingNed Batchelder2016-12-261-4/+12
| |
* | Merged in andrewhoos/coverage.py (pull request #93)Ned Batchelder2016-12-261-1/+11
|\ \ | | | | | | | | | Explicitely call sys.excepthook
| * | Update change with tests and fixes for testsAndrew Hoos2016-11-301-8/+9
| | |
| * | Remove the unused importAndrew Hoos2016-11-291-1/+0
| | |
| * | Limit changes to only execfile.pyAndrew Hoos2016-11-292-2/+4
| | |
| * | Update code to better handle calling sys.excepthook when it throwsAndrew Hoos2016-11-292-5/+9
| | |
| * | Update handling of sys.excepthook to only call custom excepthooks and ↵Andrew Hoos2016-11-291-1/+6
| | | | | | | | | | | | re-raise exceptions
| * | Explicitely call sys.excepthookAndrew Hoos2016-11-291-2/+1
| | | | | | | | | | | | https://bitbucket.org/ned/coveragepy/issues/535/sysexcepthook-is-not-called
* | | control.Coverage._init: check "source" is a directory, not just it exists; ↵Cosimo Lupo2016-12-251-1/+1
| | | | | | | | | | | | | | | | | | | | | there could be a file with that name --HG-- branch : check-source-isdir
* | | Merged in dachary/coverage.py/issue-433-2 (pull request #112)Ned Batchelder2016-12-243-5/+14
|\ \ \ | | | | | | | | | | | | implement --skip-covered for html report #433
| * | | implement --skip-covered for html report #433loic@dachary.org2016-12-183-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | close #433 --HG-- branch : issue-433-2
* | | | 2.6 and 2.7 are not different wrt constants in while loopsNed Batchelder2016-12-241-2/+1
| | | |
* | | | Move the test program into the testNed Batchelder2016-12-241-1/+1
| | | |
* | | | also use AST for while constants in python-2.7 #502loic@dachary.org2016-12-151-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The node.id is set to False, True or None is python-2.7: there is no reason to only check for it with python-3. It is more reliable than using the DEFAULT_PARTIAL_ALWAYS regexps on source lines. close #502 --HG-- branch : issue-502-7
* | | | Fix #496, while-true loop with a continue.Ned Batchelder2016-12-181-1/+1
| | | |
* | | | More parser code clean-upNed Batchelder2016-12-181-14/+25
| | | |
* | | | Clean up #493 fixNed Batchelder2016-12-181-0/+2
| | | |
* | | | Merged in dachary/coverage.py/issue-493-2 (pull request #108)Ned Batchelder2016-12-181-5/+7
|\ \ \ \ | | | | | | | | | | | | | | | finally happens before return in a try #493
| * | | | finally happens before return in a try #493loic@dachary.org2016-12-181-5/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a try block such as: if expr: try: return finally print pass the print happens before the return and cannot be followed by pass. The general case is that when the body/else/handlers in a try block all have return, break etc., the code behind finally: has no arc to the statement following the try block. close #493 --HG-- branch : issue-493-2
* | | | More ast parsing clean-up.Ned Batchelder2016-12-181-8/+19
| | | |
* | | | More doc and cleanup of ast parsingNed Batchelder2016-12-181-6/+29
| | | |
* | | | Add some to the ArcStart docstring, and remove defaultable argumentsNed Batchelder2016-12-181-5/+9
| | | |
* | | | Merged in pebers/coverage.py (pull request #57)Ned Batchelder2016-12-181-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | Add support for searching inside .pex archives similarly to .zip and .egg.