Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | feat: implicitly combine relative paths | Ned Batchelder | 2022-10-15 | 1 | -0/+20 | |
| | ||||||
* | refactor: since we are showing regexes, make them a bit simpler | Ned Batchelder | 2022-10-15 | 1 | -4/+4 | |
| | | | | | | The old code would always wrap the regex in a needless `(?s:...)` parenthesis. Path aliases are always single regexes, so they don't need that extra wrapping. This makes logged path maps easier to understand. | |||||
* | fix: */foo matches "foo/x.py", to help with combining relative file names. #991 | Ned Batchelder | 2022-10-15 | 1 | -0/+30 | |
| | ||||||
* | refactor(test): use parametrize instead of loops | Ned Batchelder | 2022-10-15 | 1 | -29/+26 | |
| | ||||||
* | test: uncomment an assert | Ned Batchelder | 2022-10-15 | 1 | -2/+1 | |
| | ||||||
* | refactor: simplify the arguments to a test helper | Ned Batchelder | 2022-10-15 | 1 | -17/+14 | |
| | ||||||
* | fix: keep negative arc values | Ned Batchelder | 2022-09-29 | 1 | -1/+1 | |
| | ||||||
* | feat: include branches taken and missed in JSON report. #1425 | Christoph Blessing | 2022-09-29 | 1 | -45/+70 | |
| | | | | | | | | | | | | | | | | | | | | | Added more branches to the code whose coverage is checked. Add branch details to json report The json report now includes for each branch which branches have been executed, missed and what the percentage of covered branches was. Add exiting branch arc to json report test Update branch details format Executed and missing branch arcs are stored in the fields named 'executed_branches' and 'missing_branches' respectively. Both fields contain a list of two element lists. The first element represents the source line number and the second one the target line number. Exit branches have their target line number set to 0. Fix linting errors | |||||
* | fix: `class` statements shouldn't be branches. #1449 | Ned Batchelder | 2022-09-26 | 2 | -7/+5 | |
| | | | | | | Revert "refactor: we no longer need to treat 'class' lines specially" This reverts commit 79f9f4575321fafc2ef770e3255f874db3d4b037. | |||||
* | feat: --debug=pathmap will show details of re-mapping due to [paths] setting. | Ned Batchelder | 2022-09-16 | 1 | -1/+27 | |
| | ||||||
* | build: use pyproject.toml to comply with pep517 | Ned Batchelder | 2022-09-13 | 1 | -1/+1 | |
| | | | | | | | | Also: remove --no-index for installing ourselves. PEP-517 compliance means we need to use PyPI to get setuptools, so we can't use --no-index anymore. I think this was added just to speed up the initial installation of the virtualenv used in these tests. | |||||
* | test: pypy fixed their sys.path[0] difference, 3792 | Ned Batchelder | 2022-08-27 | 2 | -7/+1 | |
| | | | | https://foss.heptapod.net/pypy/pypy/-/issues/3792 | |||||
* | test: btw, pypy no longer includes the current dir in sys.path when running ↵ | Ned Batchelder | 2022-08-25 | 1 | -8/+0 | |
| | | | | a directory | |||||
* | test: pypy partially fixed issue 3792 | Ned Batchelder | 2022-08-25 | 1 | -1/+0 | |
| | | | | https://foss.heptapod.net/pypy/pypy/-/issues/3792 | |||||
* | fix: don't cache a failed parse | Ned Batchelder | 2022-08-21 | 1 | -0/+9 | |
| | | | | Found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381 | |||||
* | docs: keep CHANGES up to date | Ned Batchelder | 2022-08-06 | 1 | -2/+4 | |
| | ||||||
* | fix: paths were wrong when running from root (#1403) | Arthur Rio | 2022-08-06 | 1 | -7/+17 | |
| | | | | | | | * Fix paths when running coverage from root * Add simple tests * Use nested pattern for older python versions | |||||
* | test: add a test for #1405 | Ned Batchelder | 2022-08-06 | 1 | -0/+27 | |
| | ||||||
* | test: xfail some tests that need PyPy to improve #1426 | Ned Batchelder | 2022-08-02 | 2 | -3/+10 | |
| | | | | https://foss.heptapod.net/pypy/pypy/-/issues/3792 | |||||
* | fix: 3.11.0b4 has 0-numbered lines. Fixes #1419 | Ned Batchelder | 2022-07-12 | 2 | -11/+27 | |
| | | | | | CPython added these lines in https://github.com/python/cpython/commit/1bfe83a114da3939c00746fc44dc5da7f56f525f | |||||
* | test: copying __pycache__ was causing race conditions, and was unneeded anyway. | Ned Batchelder | 2022-07-08 | 1 | -1/+5 | |
| | ||||||
* | test: suppress one more deprecation warning during tests | Ned Batchelder | 2022-06-11 | 1 | -0/+6 | |
| | ||||||
* | build: always use three-component version numbers | Ned Batchelder | 2022-05-30 | 1 | -3/+4 | |
| | | | | | Someone thought we didn't use semantic versioning because we said "6.4" instead of "6.4.0". Don't trim .0. | |||||
* | test: add a test for some uncovered lines in cmdline.py | Ned Batchelder | 2022-05-23 | 1 | -0/+6 | |
| | ||||||
* | fix: don't create a data file when just trying to read one. #13286.4 | Ned Batchelder | 2022-05-22 | 3 | -0/+9 | |
| | ||||||
* | feat: a new debug option `sqldata` shows all the data being written to the db. | Ned Batchelder | 2022-05-22 | 1 | -5/+12 | |
| |