Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Optionally skip empty files in reports | reybog90 | 2019-11-01 | 1 | -1/+8 |
| | |||||
* | Upgrade pylint | Ned Batchelder | 2019-10-18 | 1 | -1/+1 |
| | |||||
* | Create a JSON report | Matt Bachmann | 2019-08-31 | 1 | -14/+80 |
| | |||||
* | Fix a test. | Stephan Richter | 2019-06-10 | 1 | -1/+1 |
| | |||||
* | Pass the contexts to the report command. | Albertas Agejevas | 2019-06-10 | 1 | -2/+9 |
| | |||||
* | Don't name new method the same as old attribute | Ned Batchelder | 2019-04-20 | 1 | -2/+2 |
| | |||||
* | Fix #708: .filename is private, and don't combine over ourselves | Ned Batchelder | 2019-04-15 | 1 | -2/+2 |
| | |||||
* | Use a function instead of a method to show help | Ned Batchelder | 2018-11-26 | 1 | -10/+9 |
| | |||||
* | PyRunner knows how to run Python files. | Ned Batchelder | 2018-11-25 | 1 | -29/+58 |
| | | | | Adjust sys.path to better emulate Python, but only if we should. | ||||
* | Use implicit mock patching instead of explicit DI for cmdline tests | Ned Batchelder | 2018-11-25 | 1 | -280/+288 |
| | | | | | This sets us up for mocking more or different globals without adding more explicit DI overrides in cmdline.py. | ||||
* | Always include a documentation link at the end of help messages | Ned Batchelder | 2018-10-21 | 1 | -6/+14 |
| | |||||
* | One more error case for the command line | Ned Batchelder | 2018-10-19 | 1 | -3/+17 |
| | |||||
* | `[run] command_line` is the command line to use for 'coverage run'. #695 | Ned Batchelder | 2018-10-18 | 1 | -4/+43 |
| | |||||
* | This is literally what setdefault is for | Ned Batchelder | 2018-10-18 | 1 | -2/+1 |
| | |||||
* | Even more clarity for an error message | Ned Batchelder | 2018-09-25 | 1 | -0/+4 |
| | |||||
* | Merge branch 'nedbat/contexts' | Ned Batchelder | 2018-09-21 | 1 | -1/+1 |
|\ | |||||
| * | Plumb through context= setting | Ned Batchelder | 2018-09-18 | 1 | -1/+1 |
| | | |||||
* | | Clarify an error message | Ned Batchelder | 2018-09-19 | 1 | -1/+1 |
|/ | |||||
* | Better sys_info: pid, and a more understandable name. | Ned Batchelder | 2018-08-26 | 1 | -1/+1 |
| | |||||
* | Simplify how run --append works. | Ned Batchelder | 2018-08-09 | 1 | -11/+7 |
| | | | | | I don't know why it was using combine after, when .load before seems like the obvious way to do it. |