summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Excepthook and Unicode path tests need some Jython careNed Batchelder2017-01-141-6/+13
| |
* | Put try_execfile tests in their own class, and make them Jython-okNed Batchelder2017-01-141-124/+127
| |
* | More Jython test fixes/skipsNed Batchelder2017-01-144-3/+31
| |
* | Reporting doesn't work on Jython, so don't run reporting tests there.Ned Batchelder2017-01-145-9/+33
| | | | | | | | | | --HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f
* | Jython has no multiprocessing moduleNed Batchelder2017-01-133-4/+17
| |
* | Pylint can be a bitch sometimesNed Batchelder2017-01-121-3/+5
| |
* | Tweak some coverage pragmasNed Batchelder2017-01-112-30/+17
| |
* | Fix a too-long lineNed Batchelder2017-01-111-1/+2
| |
* | Delete html files when skipping covered filesNed Batchelder2017-01-111-0/+17
| |
* | Remove explicit clean-up methods that just set an attributeNed Batchelder2017-01-112-17/+5
| |
* | html total must account for files 100% covered #549loic@dachary.org2017-01-111-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 coveredNed Batchelder2017-01-051-3/+3
|
* Mysterious case of 'coverage2' being available in py35, not sure whyNed Batchelder2017-01-031-0/+1
|
* Add tests for short_id, and pytest-ize an existing oneNed Batchelder2017-01-021-10/+20
|
* The PyPy-specific test for atexit/gettrace are also PyPy-version-specific...Ned Batchelder2016-12-311-2/+2
|
* Don't run the atexit-gettrace test during metacovNed Batchelder2016-12-311-0/+3
|
* Add a test of the atexit/gettrace behaviorNed Batchelder2016-12-311-0/+31
|
* Remove an unused exception.Ned Batchelder2016-12-311-1/+1
|
* Remove hastiliy short-circuited check for conflicting include and sourceNed Batchelder2016-12-301-7/+0
|
* A test that isn't used yet, to test the refcount problem fixed this morningNed Batchelder2016-12-291-0/+37
|
* Revert the check for conflicting --source and --include. Closes #541, ↵Ned Batchelder2016-12-281-0/+3
| | | | re-opens #265
* Fix installation in ascii-default environments. #540Ned Batchelder2016-12-271-0/+5
|
* Make sure the excepthook is measured.Ned Batchelder2016-12-261-0/+9
|
* Don't stress over PyPy differences, and fix file namesNed Batchelder2016-12-261-9/+13
|
* Make excepthook execution more accurate. Pypy tests failingNed Batchelder2016-12-261-2/+5
|
* Put the excepthook tests in their own class for convenienceNed Batchelder2016-12-261-1/+4
|
* Merged in andrewhoos/coverage.py (pull request #93)Ned Batchelder2016-12-261-0/+60
|\ | | | | | | Explicitely call sys.excepthook
| * Update change with tests and fixes for testsAndrew Hoos2016-11-301-0/+60
| |
* | No need for subprocesses to test HTML reportingNed Batchelder2016-12-241-8/+6
| |
* | Merged in dachary/coverage.py/issue-433-2 (pull request #112)Ned Batchelder2016-12-242-1/+37
|\ \ | | | | | | | | | implement --skip-covered for html report #433
| * | html report --skip-covered with branches #433loic@dachary.org2016-12-191-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 #433loic@dachary.org2016-12-182-1/+19
| | | | | | | | | | | | | | | | | | | | | close #433 --HG-- branch : issue-433-2
* | | 2.6 and 2.7 are not different wrt constants in while loopsNed Batchelder2016-12-241-11/+5
| | |
* | | Provide some help in interpreting test failuresNed Batchelder2016-12-241-3/+3
| | |
* | | Move the test program into the testNed Batchelder2016-12-245-16/+15
| | |
* | | also use AST for while constants in python-2.7 #502loic@dachary.org2016-12-155-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 Batchelder2016-12-181-3/+4
| | |
* | | Fix #496, while-true loop with a continue.Ned Batchelder2016-12-181-0/+16
| | |
* | | Clean up #493 fixNed Batchelder2016-12-181-24/+9
| | |
* | | Merged in dachary/coverage.py/issue-493-2 (pull request #108)Ned Batchelder2016-12-181-0/+18
|\ \ \ | | | | | | | | | | | | finally happens before return in a try #493
| * | | finally happens before return in a try #493loic@dachary.org2016-12-181-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 Batchelder2016-12-181-0/+3
| | |
* | | Provide a more useful error message if failing to run a non-Python file. #514Ned Batchelder2016-12-171-0/+19
| | |
* | | --source and --include are mutually exclusive #265loic@dachary.org2016-12-162-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 nameNed Batchelder2016-12-141-8/+8
| |
* | report must ignore skipped files #524loic@dachary.org2016-12-121-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 valuesNed Batchelder2016-12-061-0/+7
| |
* | Oh 2.6, you get me every timeNed Batchelder2016-12-061-1/+1
| |
* | A better way to find the pth directoryNed Batchelder2016-12-061-14/+18
| |
* | Remove the filelock experimentNed Batchelder2016-12-061-8/+4
| |