Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: isolate user code from coverage.py internal code flags. #1524 | Ned Batchelder | 2023-01-09 | 1 | -0/+16 |
| | |||||
* | mypy: use __future__ uniformly in checked files | Ned Batchelder | 2023-01-05 | 1 | -0/+2 |
| | |||||
* | mypy: test_debug.py test_execfile.py test_filereporter.py test_files.py | Ned Batchelder | 2023-01-04 | 1 | -2/+2 |
| | |||||
* | mypy: summary.py, test_summary.py, tests/coveragetest.py | Ned Batchelder | 2023-01-04 | 1 | -63/+66 |
| | |||||
* | refactor: removed mentions of Jython and IronPython | Ned Batchelder | 2022-12-30 | 1 | -5/+3 |
| | |||||
* | fix: only accept known values for --format | Ned Batchelder | 2022-11-06 | 1 | -0/+6 |
| | |||||
* | fix: don't write two rules for an empty table. | Ned Batchelder | 2022-11-06 | 1 | -11/+10 |
| | |||||
* | feat: --format=total writes just the total number | Ned Batchelder | 2022-11-06 | 1 | -1/+9 |
| | |||||
* | refactor: use `format` wherever we can | Ned Batchelder | 2022-11-05 | 1 | -2/+1 |
| | |||||
* | feat: report terminal output in Markdown Table format #1418 (#1479) | stepeos | 2022-11-05 | 1 | -34/+91 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactoring normal reporting text output * implemented markdown feature from #1418 * minor changes * fixed text output * fixed precision for text and markdown report format * minor changes * finished testing for markdown format feature * fixed testing outside test_summary.py * removed fixed-length widespace padding for tests * removed whitespaces * refactoring, fixing docs, rewriting cmd args * fixing code quality * implementing requested changes * doc fix * test: add another test of correct report formatting * fixed precision printing test * style: adjust the formatting Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | fix: use glob matching instead of fnmatch. #1407 | Ned Batchelder | 2022-10-30 | 1 | -0/+24 |
| | | | | | | | I didn't understand that fnmatch considers the entire string to be a filename, even if it has slashes in it. This led to incorrect matching. Now we use our own implementation of glob matching to get the correct behavior. | ||||
* | fix: don't create a data file when just trying to read one. #13286.4 | Ned Batchelder | 2022-05-22 | 1 | -0/+1 |
| | |||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 1 | -1/+1 |
| | |||||
* | refactor(test): use math.isclose to check float values | Ned Batchelder | 2022-01-07 | 1 | -3/+4 |
| | |||||
* | refactor(test): move unicode handling tests to individual test files | Ned Batchelder | 2021-11-20 | 1 | -0/+17 |
| | | | | Eight fewer sub-processes | ||||
* | refactor(test): three more subprocesses gone in test_summary.py | Ned Batchelder | 2021-11-20 | 1 | -22/+10 |
| | |||||
* | refactor(test): avoid 8 subprocesses in test_summary.py | Ned Batchelder | 2021-11-20 | 1 | -45/+29 |
| | |||||
* | refactor: specialize exceptions | Ned Batchelder | 2021-11-14 | 1 | -2/+2 |
| | | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better. | ||||
* | style: convert more string formatting to f-strings | Ned Batchelder | 2021-11-11 | 1 | -1/+1 |
| | |||||
* | test: don't use subprocesses where we don't have to | Ned Batchelder | 2021-10-13 | 1 | -53/+59 |
| | | | | | | When running tests with `-n 0`, this shaves 4 seconds off the run time. When running the complete test suite with xdist, it takes 2 seconds longer!? | ||||
* | refactor: use the get_report helper | Ned Batchelder | 2021-10-13 | 1 | -6/+1 |
| | |||||
* | refactor: no longer need to explicitly omit site-packages | Ned Batchelder | 2021-10-13 | 1 | -15/+0 |
| | | | | 6.x omits site-packages automatically. | ||||
* | refactor: convert existing imports to start_stop_import | Ned Batchelder | 2021-10-13 | 1 | -15/+6 |
| | |||||
* | fix: use human sorting on human-readable things | Ned Batchelder | 2021-10-12 | 1 | -8/+18 |
| | |||||
* | feat: warnings are now real warnings | Ned Batchelder | 2021-05-30 | 1 | -2/+3 |
| | | | | | | This makes coverage warnings visible when running test suites under pytest. But it also means some uninteresting warnings would show up in our own test suite, so we had to catch or suppress those. | ||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -9/+8 |
| | |||||
* | refactor: remove unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib | ||||
* | refactor: remove code explicitly choosing between py2 and py3 | Ned Batchelder | 2021-05-01 | 1 | -6/+3 |
| | |||||
* | test: have pytest collect test classes uniformly | Ned Batchelder | 2021-03-11 | 1 | -10/+1 |
| | |||||
* | fix: don't report branches to missing lines. #1065 | Ned Batchelder | 2021-02-28 | 1 | -1/+1 |
| | | | | | Fixes: #1065 Fixes: #955 | ||||
* | test: add tests of report sorting options | Ned Batchelder | 2021-02-26 | 1 | -0/+10 |
| | |||||
* | build: update to latest pylint | Ned Batchelder | 2021-02-26 | 1 | -3/+3 |
| | |||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 1 | -10/+3 |
| | |||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -4/+3 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+2 |
| | |||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -129/+126 |
| | | | | One step of moving to pure pytest tests. | ||||
* | Always output TOTAL line. | Judson Neer | 2021-01-06 | 1 | -26/+47 |
| | |||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 1 | -4/+4 |
| | |||||
* | Fix broken sorting tests. Good catch, Jerin Peter George | Ned Batchelder | 2020-07-03 | 1 | -10/+11 |
| | |||||
* | Simplify testing of --no-skip-covered, and add docs | Ned Batchelder | 2020-06-29 | 1 | -30/+0 |
| | |||||
* | Add --no-skip-covered to allow negation of --skip-covered | Anthony Sottile | 2020-02-14 | 1 | -0/+30 |
| | |||||
* | Adjust other env.PYPY tests to the latest way | Ned Batchelder | 2019-12-31 | 1 | -1/+1 |
| | |||||
* | Polish up cmd.rst | Ned Batchelder | 2019-12-08 | 1 | -1/+1 |
| | |||||
* | Mark tests that don't need a temp dir | Ned Batchelder | 2019-11-25 | 1 | -0/+2 |
| | |||||
* | Optionally skip empty files in reports | reybog90 | 2019-11-01 | 1 | -0/+45 |
| | |||||
* | No need to pass coverage/config separately everywhere | Ned Batchelder | 2019-06-17 | 1 | -22/+15 |
| | |||||
* | Refactor text reporting to use the same code paths as other reports | Ned Batchelder | 2019-06-16 | 1 | -13/+12 |
| | |||||
* | Use pylint 2.x | Ned Batchelder | 2019-05-13 | 1 | -7/+7 |
| | |||||
* | Sort the text missing results by line number, not kind | Ned Batchelder | 2018-12-25 | 1 | -1/+1 |
| |