summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Use the test method for setting the environment, so we can clean itNed Batchelder2017-01-151-1/+1
|
* More pragmas for test skipsNed Batchelder2017-01-144-5/+5
|
* Pragmas for impossible error checksNed Batchelder2017-01-141-2/+2
|
* Forgot a bunch of jython coverage pragmasNed Batchelder2017-01-144-7/+7
|
* Clean up for pull request #122Ned Batchelder2017-01-142-16/+30
|
* Merged in dachary/coverage.py/issue-426 (pull request #122)Ned Batchelder2017-01-143-6/+30
|\ | | | | | | make --source module do the same as --source directory #426
| * simplify --source=pkg test casesloic@dachary.org2017-01-103-14/+4
| | | | | | | | | | | | | | | | | | Instead of adding a new test, fix the existing test. It succeeded but was not actually testing the expected code path because pkg1 is both a directory and a package. --HG-- branch : issue-426
| * source_for_file helper with unit testsloic@dachary.org2017-01-101-1/+26
| | | | | | | | | | --HG-- branch : issue-426
| * make --source module do the same as --source directory #426loic@dachary.org2017-01-061-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 testNed Batchelder2017-01-144-20/+20
| |
* | 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