Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix: lcov command didn't report a total, so --fail-under didn't work | Ned Batchelder | 2022-12-31 | 1 | -6/+13 | |
| | ||||||
* | test: a sorted_lines helper | Ned Batchelder | 2022-12-31 | 5 | -18/+19 | |
| | ||||||
* | mypy: check tests/goldtest.py, tests/test_html.py | Ned Batchelder | 2022-12-31 | 2 | -94/+113 | |
| | ||||||
* | mypy: check tests/helpers.py | Ned Batchelder | 2022-12-31 | 1 | -34/+62 | |
| | ||||||
* | mypy: add data.py and test_api.py | Ned Batchelder | 2022-12-31 | 3 | -140/+161 | |
| | ||||||
* | test: add a test of unknown dynamic-context | Ned Batchelder | 2022-12-31 | 1 | -0/+6 | |
| | ||||||
* | test: greenlet isn't on all versions we test on | Ned Batchelder | 2022-12-31 | 1 | -1/+5 | |
| | ||||||
* | refactor: removed mentions of Jython and IronPython | Ned Batchelder | 2022-12-30 | 10 | -87/+13 | |
| | ||||||
* | test: seven tests that fail because of pypy 3882 | Ned Batchelder | 2022-12-30 | 2 | -3/+20 | |
| | | | | https://foss.heptapod.net/pypy/pypy/-/issues/3882 | |||||
* | style: correct some lint errors | Ned Batchelder | 2022-12-30 | 1 | -2/+0 | |
| | ||||||
* | mypy: inorout.py, disposition.py, and part of control.py | Ned Batchelder | 2022-12-30 | 2 | -2/+4 | |
| | ||||||
* | refactor: @contract is completely gone | Ned Batchelder | 2022-12-29 | 1 | -1/+1 | |
| | ||||||
* | mypy: check tomlconfig.py | Ned Batchelder | 2022-12-29 | 1 | -0/+1 | |
| | ||||||
* | fix: [tools.coverage] is valid for settings in a toml file. #1516 | Ned Batchelder | 2022-12-27 | 1 | -0/+13 | |
| | ||||||
* | test: run mypy on config.py | Ned Batchelder | 2022-12-27 | 1 | -6/+7 | |
| | ||||||
* | refactor: remove more of the PyContracts stuff | Ned Batchelder | 2022-12-27 | 1 | -53/+2 | |
| | ||||||
* | fix: adjust some PyPy behaviors. #1515 | Ned Batchelder | 2022-12-27 | 4 | -18/+8 | |
| | ||||||
* | test: remove obsolete skips | Ned Batchelder | 2022-12-24 | 2 | -28/+0 | |
| | ||||||
* | fix: also look into .whl files for source | Ned Batchelder | 2022-12-23 | 1 | -0/+3 | |
| | ||||||
* | fix: certain strange characters caused reporting to fail. #1512 | Ned Batchelder | 2022-12-23 | 1 | -0/+32 | |
| | | | | | | It turns out that str.splitlines() will break text on some characters that file.readline() does not! Use readline() to read source files the same way that Python does. | |||||
* | fix: don't forbid plus signs in file names. #1513 | Ned Batchelder | 2022-12-23 | 1 | -2/+8 | |
| | ||||||
* | fix: when checking source existence for remapping, zipfiles are ok | Ned Batchelder | 2022-12-01 | 1 | -1/+30 | |
| | ||||||
* | fix: prevent infinite recursion | Ned Batchelder | 2022-12-01 | 1 | -0/+1 | |
| | | | | | If using relative file paths, and a file remapping failed, we'd get an infinite recursion. | |||||
* | test: don't add tests conditionally, skip them instead | Ned Batchelder | 2022-12-01 | 1 | -6/+5 | |
| | | | | This keeps the total number of tests the same in all situations. | |||||
* | feat: file paths are only remapped if the result exists | Ned Batchelder | 2022-11-29 | 4 | -13/+26 | |
| | ||||||
* | style: fix spelling | Ned Batchelder | 2022-11-28 | 4 | -13/+13 | |
| | | | | un-executed, white space, time stamp. | |||||
* | feat: implicit path mapping during reporting. #1212 | Ned Batchelder | 2022-11-27 | 2 | -2/+149 | |
| | ||||||
* | perf: more combine speed-ups | Ned Batchelder | 2022-11-20 | 1 | -0/+20 | |
| | | | | | | | By avoiding writing metadata that differs but doesn't change the data, we get a higher hitrate on the hash-checking when combining. Use --debug=process to include these details for debugging. | |||||
* | build: allow for .devN version numbers | Ned Batchelder | 2022-11-17 | 2 | -7/+12 | |
| | ||||||
* | feat: added support for finding unexecuted namespace packages (#1387) | Felix Horvat | 2022-11-17 | 2 | -1/+21 | |
| | | | | | | | | | | | | | | | | | | | * add support for namespace packages * fixed typo * update documentation * fixed lint issues * changed versionadded * convert to config setting * removed pure formatting changes * code review changes Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | |||||
* | feat: complete removal of `[run] note` | Ned Batchelder | 2022-11-11 | 1 | -11/+0 | |
| | ||||||
* | fix: path-mapped results shouldn't start with ./ | Ned Batchelder | 2022-11-08 | 1 | -0/+7 | |
| | | | | Unless the actual result in the config starts with ./ | |||||
* | perf: hash data files during combining to avoid unneeded work. #1483 | Ned Batchelder | 2022-11-08 | 2 | -2/+6 | |
| | | | | | | | | | When generating many parallel data files, often some data files will be exact copies of each other. Checking the hashes, we can avoid combining the duplicates, speeding the process. On a coverage.py metacov, we had 651 duplicates out of 2189 files (29%). The time to combine was reduced by 17%. | |||||
* | refactor: remove mention of Python 2 unicode | Ned Batchelder | 2022-11-06 | 2 | -10/+2 | |
| | ||||||
* | refactor: no need for special handling of compiling unicode source | Ned Batchelder | 2022-11-06 | 2 | -116/+4 | |
| | | | | This was a holdover from Python 2 days. | |||||
* | fix: only accept known values for --format | Ned Batchelder | 2022-11-06 | 2 | -0/+11 | |
| | ||||||
* | fix: don't write two rules for an empty table. | Ned Batchelder | 2022-11-06 | 1 | -11/+10 | |
| | ||||||
* | fix: an empty file shouldn't fail with --fail-under=99. #1470 | Ned Batchelder | 2022-11-06 | 1 | -1/+2 | |
| | ||||||
* | 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 | 2 | -4/+3 | |
| | ||||||
* | feat: report terminal output in Markdown Table format #1418 (#1479) | stepeos | 2022-11-05 | 2 | -35/+92 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: properly measure strange use of wildcard alternatives in match/case. #1421 | Ned Batchelder | 2022-11-03 | 1 | -0/+13 | |
| | ||||||
* | test: a utility print for when reporting tests fail | Ned Batchelder | 2022-11-02 | 1 | -0/+1 | |
| | ||||||
* | fix: more relative_files=true fixes. #1280 | Ned Batchelder | 2022-10-30 | 1 | -0/+32 | |
| | ||||||
* | fix: use glob matching instead of fnmatch. #1407 | Ned Batchelder | 2022-10-30 | 3 | -64/+170 | |
| | | | | | | | 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. | |||||
* | test: correct some config tests, and fully cover tomlconfig.py | Ned Batchelder | 2022-10-28 | 1 | -4/+21 | |
| | ||||||
* | fix: in toml config, only apply environment substitution to coverage ↵ | Ned Batchelder | 2022-10-28 | 1 | -7/+12 | |
| | | | | settings. #1481 | |||||
* | test: simulate the failure from issue #1481 | Ned Batchelder | 2022-10-28 | 1 | -0/+4 | |
| | ||||||
* | build: 3.11.0 and 3.12.0a1 are available | Ned Batchelder | 2022-10-27 | 1 | -1/+1 | |
| | ||||||
* | test: use modern pytest hook syntax | Ned Batchelder | 2022-10-26 | 1 | -1/+1 | |
| |