Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | make --source module do the same as --source directory #426 | loic@dachary.org | 2017-01-06 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | Use different out directories for each farm test | Ned Batchelder | 2017-01-14 | 4 | -20/+20 | |
| | | ||||||
* | | Excepthook and Unicode path tests need some Jython care | Ned Batchelder | 2017-01-14 | 1 | -6/+13 | |
| | | ||||||
* | | Put try_execfile tests in their own class, and make them Jython-ok | Ned Batchelder | 2017-01-14 | 1 | -124/+127 | |
| | | ||||||
* | | More Jython test fixes/skips | Ned Batchelder | 2017-01-14 | 4 | -3/+31 | |
| | | ||||||
* | | Reporting doesn't work on Jython, so don't run reporting tests there. | Ned Batchelder | 2017-01-14 | 5 | -9/+33 | |
| | | | | | | | | | | --HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f | |||||
* | | Jython has no multiprocessing module | Ned Batchelder | 2017-01-13 | 3 | -4/+17 | |
| | | ||||||
* | | Pylint can be a bitch sometimes | Ned Batchelder | 2017-01-12 | 1 | -3/+5 | |
| | | ||||||
* | | Tweak some coverage pragmas | Ned Batchelder | 2017-01-11 | 2 | -30/+17 | |
| | | ||||||
* | | Fix a too-long line | Ned Batchelder | 2017-01-11 | 1 | -1/+2 | |
| | | ||||||
* | | Delete html files when skipping covered files | Ned Batchelder | 2017-01-11 | 1 | -0/+17 | |
| | | ||||||
* | | Remove explicit clean-up methods that just set an attribute | Ned Batchelder | 2017-01-11 | 2 | -17/+5 | |
| | | ||||||
* | | html total must account for files 100% covered #549 | loic@dachary.org | 2017-01-11 | 1 | -1/+10 | |
|/ | | | | | | | | | | | | | | 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 | |||||
* | These defensive OS checks are not covered | Ned Batchelder | 2017-01-05 | 1 | -3/+3 | |
| | ||||||
* | Mysterious case of 'coverage2' being available in py35, not sure why | Ned Batchelder | 2017-01-03 | 1 | -0/+1 | |
| | ||||||
* | Add tests for short_id, and pytest-ize an existing one | Ned Batchelder | 2017-01-02 | 1 | -10/+20 | |
| | ||||||
* | The PyPy-specific test for atexit/gettrace are also PyPy-version-specific... | Ned Batchelder | 2016-12-31 | 1 | -2/+2 | |
| | ||||||
* | Don't run the atexit-gettrace test during metacov | Ned Batchelder | 2016-12-31 | 1 | -0/+3 | |
| | ||||||
* | Add a test of the atexit/gettrace behavior | Ned Batchelder | 2016-12-31 | 1 | -0/+31 | |
| | ||||||
* | Remove an unused exception. | Ned Batchelder | 2016-12-31 | 1 | -1/+1 | |
| | ||||||
* | Remove hastiliy short-circuited check for conflicting include and source | Ned Batchelder | 2016-12-30 | 1 | -7/+0 | |
| | ||||||
* | A test that isn't used yet, to test the refcount problem fixed this morning | Ned Batchelder | 2016-12-29 | 1 | -0/+37 | |
| | ||||||
* | Revert the check for conflicting --source and --include. Closes #541, ↵ | Ned Batchelder | 2016-12-28 | 1 | -0/+3 | |
| | | | | re-opens #265 | |||||
* | Fix installation in ascii-default environments. #540 | Ned Batchelder | 2016-12-27 | 1 | -0/+5 | |
| | ||||||
* | Make sure the excepthook is measured. | Ned Batchelder | 2016-12-26 | 1 | -0/+9 | |
| | ||||||
* | Don't stress over PyPy differences, and fix file names | Ned Batchelder | 2016-12-26 | 1 | -9/+13 | |
| | ||||||
* | Make excepthook execution more accurate. Pypy tests failing | Ned Batchelder | 2016-12-26 | 1 | -2/+5 | |
| | ||||||
* | Put the excepthook tests in their own class for convenience | Ned Batchelder | 2016-12-26 | 1 | -1/+4 | |
| | ||||||
* | Merged in andrewhoos/coverage.py (pull request #93) | Ned Batchelder | 2016-12-26 | 1 | -0/+60 | |
|\ | | | | | | | Explicitely call sys.excepthook | |||||
| * | Update change with tests and fixes for tests | Andrew Hoos | 2016-11-30 | 1 | -0/+60 | |
| | | ||||||
* | | No need for subprocesses to test HTML reporting | Ned Batchelder | 2016-12-24 | 1 | -8/+6 | |
| | | ||||||
* | | Merged in dachary/coverage.py/issue-433-2 (pull request #112) | Ned Batchelder | 2016-12-24 | 2 | -1/+37 | |
|\ \ | | | | | | | | | | implement --skip-covered for html report #433 | |||||
| * | | html report --skip-covered with branches #433 | loic@dachary.org | 2016-12-19 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a test because the code path is significantly different. Also document --skip-covered with the coverage html command. close #433 --HG-- branch : issue-433-2 | |||||
| * | | implement --skip-covered for html report #433 | loic@dachary.org | 2016-12-18 | 2 | -1/+19 | |
| | | | | | | | | | | | | | | | | | | | | | close #433 --HG-- branch : issue-433-2 | |||||
* | | | 2.6 and 2.7 are not different wrt constants in while loops | Ned Batchelder | 2016-12-24 | 1 | -11/+5 | |
| | | | ||||||
* | | | Provide some help in interpreting test failures | Ned Batchelder | 2016-12-24 | 1 | -3/+3 | |
| | | | ||||||
* | | | Move the test program into the test | Ned Batchelder | 2016-12-24 | 5 | -16/+15 | |
| | | | ||||||
* | | | also use AST for while constants in python-2.7 #502 | loic@dachary.org | 2016-12-15 | 5 | -5/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | | Bug #496 wasn't about the single-line continue, just the constant while. | Ned Batchelder | 2016-12-18 | 1 | -3/+4 | |
| | | | ||||||
* | | | Fix #496, while-true loop with a continue. | Ned Batchelder | 2016-12-18 | 1 | -0/+16 | |
| | | | ||||||
* | | | Clean up #493 fix | Ned Batchelder | 2016-12-18 | 1 | -24/+9 | |
| | | | ||||||
* | | | Merged in dachary/coverage.py/issue-493-2 (pull request #108) | Ned Batchelder | 2016-12-18 | 1 | -0/+18 | |
|\ \ \ | | | | | | | | | | | | | finally happens before return in a try #493 | |||||
| * | | | finally happens before return in a try #493 | loic@dachary.org | 2016-12-18 | 1 | -0/+18 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | | Add a "make smoke" target for a quick test run. | Ned Batchelder | 2016-12-18 | 1 | -0/+3 | |
| | | | ||||||
* | | | Provide a more useful error message if failing to run a non-Python file. #514 | Ned Batchelder | 2016-12-17 | 1 | -0/+19 | |
| | | | ||||||
* | | | --source and --include are mutually exclusive #265 | loic@dachary.org | 2016-12-16 | 2 | -3/+5 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a sanity_check function to CoverageConfig to perform sanity checks after configuration values have been collected from files, arguments etc. Raise an error if --source and --include are both set. The config tests are amended because some of them have both source and include set. Based on the original patch from Nathan Land close #265 --HG-- branch : issue-265 extra : amend_source : 2c0e1173285d07174bc632fb3a8df437201607a6 | |||||
* | | Give this variable a more descriptive name | Ned Batchelder | 2016-12-14 | 1 | -8/+8 | |
| | | ||||||
* | | report must ignore skipped files #524 | loic@dachary.org | 2016-12-12 | 1 | -4/+25 | |
| | | | | | | | | | | | | | | | | | | 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. --HG-- branch : issue-524-2 | |||||
* | | Prevent UnicodeErrors in HTML reports with Unicode configuration values | Ned Batchelder | 2016-12-06 | 1 | -0/+7 | |
| | | ||||||
* | | Oh 2.6, you get me every time | Ned Batchelder | 2016-12-06 | 1 | -1/+1 | |
| | |