Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: adapt to latest pylint | Ned Batchelder | 2023-02-09 | 1 | -3/+3 |
| | |||||
* | fix: isolate user code from coverage.py internal code flags. #1524 | Ned Batchelder | 2023-01-09 | 1 | -1/+1 |
| | |||||
* | style: use good style for annotated defaults parameters | Ned Batchelder | 2023-01-05 | 1 | -10/+10 |
| | |||||
* | 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 | -5/+5 |
| | |||||
* | refactor: a better way to filter `coverage debug pybehave` | Ned Batchelder | 2023-01-01 | 1 | -0/+6 |
| | |||||
* | mypy: add cmdline.py and test_cmdline.py | Ned Batchelder | 2022-12-31 | 1 | -72/+104 |
| | |||||
* | refactor: removed mentions of Jython and IronPython | Ned Batchelder | 2022-12-30 | 1 | -2/+0 |
| | |||||
* | fix: only accept known values for --format | Ned Batchelder | 2022-11-06 | 1 | -0/+5 |
| | |||||
* | refactor: use `format` wherever we can | Ned Batchelder | 2022-11-05 | 1 | -2/+2 |
| | |||||
* | feat: report terminal output in Markdown Table format #1418 (#1479) | stepeos | 2022-11-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | test: add a test for some uncovered lines in cmdline.py | Ned Batchelder | 2022-05-23 | 1 | -0/+6 |
| | |||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 1 | -6/+6 |
| | |||||
* | style: remove pylint exclusions only needed for 2/3 | Ned Batchelder | 2022-02-20 | 1 | -1/+1 |
| | |||||
* | test: nicer way to test debug=pybehave | Ned Batchelder | 2022-02-06 | 1 | -3/+4 |
| | |||||
* | debug: pybehave is now an option on `coverage debug` | Ned Batchelder | 2022-02-06 | 1 | -1/+11 |
| | |||||
* | test: update --precision & --fail-under tests to really test the fix from #1317 | Ned Batchelder | 2022-02-01 | 1 | -38/+51 |
| | |||||
* | fix: use --precision argument when checking --fail-under (#1317) | Marcelo Trylesinski | 2022-02-01 | 1 | -0/+3 |
| | | | | | | | | | | | | | * build: windows 3.11.0a4 started failing to save the pip cache * Fix precision argument when using cmd * Remove print * Remove isort things * last isort... Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | feat: use --data-file to configure the coverage database | Nikita Bloshchanevich | 2022-01-25 | 1 | -0/+25 |
| | |||||
* | feat: add "lcov" command for generating LCOV reports | Bradley Burns | 2022-01-22 | 1 | -18/+73 |
| | | | | | | | * Add LCOV functionality into coverage.py * Add testing for the LCOV reporter * Add documentation for the LCOV reporter | ||||
* | feat: multiple --concurrency values. #1012 #1082nedbat/multi-concurrency | Ned Batchelder | 2021-11-25 | 1 | -15/+11 |
| | |||||
* | refactor(test): make_data_file is a helper for making data files | Ned Batchelder | 2021-11-20 | 1 | -15/+10 |
| | |||||
* | docs: document the exceptions | Ned Batchelder | 2021-11-14 | 1 | -2/+2 |
| | | | | ... and make some of them private. | ||||
* | test: add a test of `coverage debug premain` | Ned Batchelder | 2021-11-13 | 1 | -0/+15 |
| | |||||
* | debug: the `coverage debug` command no longer accepts multiple topics | Ned Batchelder | 2021-11-13 | 1 | -3/+7 |
| | |||||
* | feat: 'debug data' now enumerates combinable files also | Ned Batchelder | 2021-11-13 | 1 | -9/+31 |
| | |||||
* | refactor: add_lines only needs an iterable of ints | Ned Batchelder | 2021-11-13 | 1 | -2/+2 |
| | | | | | The old code expected a dict with int keys, but iterables are simpler, so get rid of a lot of dict.fromkeys() nonsense. | ||||
* | refactor(test): use the expected name for initializing tests. | Ned Batchelder | 2021-11-07 | 1 | -2/+2 |
| | | | | | | | | | Originally I used setup_test because something went wrong when I used setUp. I wrote https://github.com/pytest-dev/pytest/issues/8424 about it. There they say to use `-p no:nose` to disable nose interpretation. But now I simply went back to setUp, and all seems well? Not sure what changed, but using the expected name is better. | ||||
* | refactor(test): make traceback checks a bit flexible | Ned Batchelder | 2021-11-04 | 1 | -4/+5 |
| | | | | | | | | | | | | Python 3.11 made a traceback look like this: Traceback (most recent call last): File "{path}", line 8, in <module> print(sys.argv[1]) ~~~~~~~~^^^ IndexError: list index out of range We needed to not care if that tilde-caret line was present or not. | ||||
* | feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashq | Ned Batchelder | 2021-10-26 | 1 | -0/+41 |
| | |||||
* | refactor: alphabetize the options | Ned Batchelder | 2021-10-26 | 1 | -53/+53 |
| | |||||
* | refactor(test): os_sep and remove_tree helpers | Ned Batchelder | 2021-10-24 | 1 | -3/+3 |
| | |||||
* | feat: HTML report now says where the report is. #1195 (#1207) | Ned Batchelder | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | 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 | -11/+11 |
| | |||||
* | refactor: remove unused test class setting | Ned Batchelder | 2021-03-11 | 1 | -1/+0 |
| | | | | | | | | | unittest_mixins would check that files got created if a test made a temporary directory, so that we could trim down making temp dirs needlessly. But we don't use unittest_mixins any more, so this setting does nothing. Remove it. | ||||
* | test: reduce use of unittest | Ned Batchelder | 2021-03-11 | 1 | -2/+2 |
| | |||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 1 | -4/+2 |
| | |||||
* | refactor: remove reliance on unittest_mixins.StdStreamCapturingMixin | Ned Batchelder | 2021-02-02 | 1 | -4/+6 |
| | | | | This is another step toward removing unittest.TestCase as a base class. | ||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -4/+3 |
| | |||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -54/+50 |
| | | | | One step of moving to pure pytest tests. | ||||
* | Add combine --keep (#1110) | Éric Larivière | 2021-01-30 | 1 | -5/+5 |
| | | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long | ||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 1 | -1/+1 |
| | |||||
* | CmdLineStdoutTest::test_cmd_help: test for at least 20 lines (#1013) | latricewilgus | 2020-07-19 | 1 | -1/+1 |
| | | | | | | | | | The number of lines in the help output of a command depends on the terminal size. The smaller the more line breaks. The minimum number of lines for the current help message is 23. Currently we are checking for at least 30 lines, yielding to failures on large terminals. Reduce the number (currently 30) to 20 to have some leeway for the future. | ||||
* | Report descending sort option (#1005) | Jerin Peter George | 2020-07-03 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | * added descending sort option in coverage report * commandline option for report sort added * Fix tests for pull #1005 * conditional statements improved * sort option help updated with choices * commandline test for sort added Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | --skip-empty now applies to the XML report also. #976nedbat/bug976 | Ned Batchelder | 2020-06-30 | 1 | -1/+1 |
| | |||||
* | Simplify testing of --no-skip-covered, and add docs | Ned Batchelder | 2020-06-29 | 1 | -0/+10 |
| | |||||
* | Make the bare help message a bit more helpful | Ned Batchelder | 2020-05-17 | 1 | -1/+1 |
| | |||||
* | Finish up --precision | Ned Batchelder | 2020-05-12 | 1 | -3/+13 |
| | |||||
* | "coverage debug premain" | Ned Batchelder | 2020-01-11 | 1 | -1/+1 |
| |