Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | test: xfail decorator tests that fail on PyPy 3.8 (7.3.10alpha) | Ned Batchelder | 2022-05-21 | 4 | -6/+23 | |
| | | | | https://foss.heptapod.net/pypy/pypy/-/issues/3749 | |||||
* | fix: CoverageData(no_disk=True).update() now works. #1323 | Ned Batchelder | 2022-05-21 | 1 | -0/+16 | |
| | ||||||
* | test: tests of HTML's helper assert_valid_hrefs | Ned Batchelder | 2022-05-20 | 1 | -1/+21 | |
| | ||||||
* | chore: update HTML gold files | Ned Batchelder | 2022-05-20 | 39 | -887/+931 | |
| | ||||||
* | style(html): clean up the html tags and styles | Ned Batchelder | 2022-05-20 | 1 | -6/+8 | |
| | ||||||
* | chore: update HTML gold files | Ned Batchelder | 2022-05-20 | 26 | -156/+355 | |
| | ||||||
* | feat(html): version and timestamp at the top of report files. | Ned Batchelder | 2022-05-20 | 1 | -4/+6 | |
| | | | | This is a re-implementation of pull #1354. | |||||
* | style: remove an orphaned import | Ned Batchelder | 2022-05-20 | 1 | -1/+0 | |
| | ||||||
* | test: remove file-removal that isn't needed anymore | Ned Batchelder | 2022-05-20 | 2 | -9/+2 | |
| | ||||||
* | test: check that our generated html files have valid hrefs | Ned Batchelder | 2022-05-19 | 1 | -1/+25 | |
| | ||||||
* | chore: update html test gold files | J. M. F. Tsang | 2022-05-19 | 38 | -76/+794 | |
| | ||||||
* | fix: the SIGTERM handler is now opt-in. #1310 | Ned Batchelder | 2022-05-18 | 1 | -3/+10 | |
| | ||||||
* | Use tomllib on Python 3.11 (#1359) | Shantanu | 2022-05-15 | 2 | -8/+11 | |
| | | | Co-authored-by: hauntsaninja <> | |||||
* | test: remove version-specfic skips we no longer need | Ned Batchelder | 2022-05-13 | 2 | -26/+0 | |
| | ||||||
* | test: CPython #92236 is fixed for 3.11.0b2 | Ned Batchelder | 2022-05-13 | 1 | -1/+2 | |
| | ||||||
* | test: skip tests that fail until CPython #92236 is fixed | Ned Batchelder | 2022-05-12 | 1 | -0/+20 | |
| | | | | https://github.com/python/cpython/issues/92236 | |||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 22 | -115/+115 | |
| | ||||||
* | build: Build and test tweaks to help with cross-compilation | Steve Dower | 2022-04-30 | 3 | -6/+11 | |
| | | | | | | | | | | | | | | | For context, I've been testing whether a range of popular libraries are going to work on Windows ARM64. (This requires compiling on a regular x64 machine and then copying the wheel to an ARM64 one for testing.) The good news is, coverage seems to be just fine without any changes. However, because of a few assumptions in the test suite about always testing an in-place build, I had to make some tweaks to be able to run tests. My proposed tweaks should be fine for current uses, but they also allow the following: * support `SETUPTOOLS_EXT_SUFFIX` when building to override the pyd tag on Windows (used with `setup.py build_ext -L <path>` to point at [pythonarm64](https://www.nuget.org/packages/pythonarm64/) import libraries to do the cross-compile) * allow `COVERAGE_INSTALL_ARGS` to override how the tests install coverage into a venv (allows to point at a wheel rather than rebuilding from the sources) * allow `python igor.py remove_extension --from-install` to delete the extension module from `site-packages` rather than only the source tree * other changes to allow removing the `coverage` directory from the source tree before tests so that the installed copy will be used instead. I've tested these on my own Windows ARM64 machine, though unfortunately there aren't any available on CI services yet. If you wanted to start releasing (preview) wheels for win-arm64 you can, but there's no support (yet) in `cibuildwheel` or `build` to do it (because those tools don't really have a concept of cross-compilation for Windows at all... yet ;-) ). For the linter | |||||
* | fix: protect fullcoverage against lineno=None, bpo46911 | Ned Batchelder | 2022-03-03 | 1 | -4/+0 | |
| | | | | https://bugs.python.org/issue46911 | |||||
* | test: no need to protect against a 3.11.0a4 bug anymore | Ned Batchelder | 2022-03-03 | 2 | -18/+0 | |
| | ||||||
* | fix: pypy3.9 traces decorators like CPython 3.8 | Ned Batchelder | 2022-02-20 | 2 | -20/+0 | |
| | ||||||
* | style: remove pylint exclusions only needed for 2/3 | Ned Batchelder | 2022-02-20 | 1 | -1/+1 | |
| | ||||||
* | fix: provide an intelligible error message for multiprocessing with no ↵ | Ned Batchelder | 2022-02-09 | 1 | -0/+4 | |
| | | | | config file. #1320 | |||||
* | refactor(test): simplify these tests | Ned Batchelder | 2022-02-09 | 1 | -12/+4 | |
| |