Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style: use good style for annotated defaults parameters | Ned Batchelder | 2023-01-05 | 1 | -5/+5 |
| | |||||
* | mypy: Iterator is better than Generator | Ned Batchelder | 2023-01-05 | 1 | -2/+2 |
| | |||||
* | 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 | -52/+69 |
| | |||||
* | fix: relative_files should keep relative path maps. #1519 | Ned Batchelder | 2023-01-02 | 1 | -2/+12 |
| | |||||
* | fix: also look into .whl files for source | Ned Batchelder | 2022-12-23 | 1 | -0/+3 |
| | |||||
* | 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 | 1 | -3/+8 |
| | |||||
* | feat: added support for finding unexecuted namespace packages (#1387) | Felix Horvat | 2022-11-17 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | 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 ./ | ||||
* | fix: use glob matching instead of fnmatch. #1407 | Ned Batchelder | 2022-10-30 | 1 | -63/+146 |
| | | | | | | | 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. | ||||
* | 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 |
| | |||||
* | refactor: simplify the arguments to a test helper | Ned Batchelder | 2022-10-15 | 1 | -17/+14 |
| | |||||
* | feat: --debug=pathmap will show details of re-mapping due to [paths] setting. | Ned Batchelder | 2022-09-16 | 1 | -1/+27 |
| | |||||
* | 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 | ||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 1 | -2/+2 |
| | |||||
* | refactor: specialize exceptions | Ned Batchelder | 2021-11-14 | 1 | -2/+2 |
| | | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better. | ||||
* | 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. | ||||
* | fix: remapping paths during combining needs to follow relative_files=True. #1147 | Ned Batchelder | 2021-11-06 | 1 | -67/+83 |
| | |||||
* | fix: give a default value to the name argument for Matchers. #1273 | Ned Batchelder | 2021-11-05 | 1 | -6/+6 |
| | |||||
* | style: prefer explicit string concatenation | Ned Batchelder | 2021-10-10 | 1 | -2/+2 |
| | |||||
* | test: canonicalize this bit of debug output | Ned Batchelder | 2021-10-08 | 1 | -1/+1 |
| | |||||
* | fix: generate flat file names differently | Ned Batchelder | 2021-07-15 | 1 | -10/+15 |
| | | | | | | | | Fixes a few unusual issues with reports: - #580: HTML report generation fails on too long path - #584: File collisions in coverage report html - #1167: Remove leading underscore in coverage html | ||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -2/+2 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -14/+13 |
| | |||||
* | debug: label each matcher with its role | Ned Batchelder | 2021-04-11 | 1 | -6/+6 |
| | |||||
* | fix: make TreeMatcher right for case-sensitive worlds | Ned Batchelder | 2021-04-10 | 1 | -0/+5 |
| | |||||
* | test: reduce use of unittest | Ned Batchelder | 2021-03-11 | 1 | -4/+4 |
| | |||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 1 | -5/+1 |
| | |||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -9/+5 |
| | |||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -30/+23 |
| | | | | One step of moving to pure pytest tests. | ||||
* | fix: combine aliases on windows base dirs (ie: ``X:\``) (fixes: #577) | Valentin Lab | 2021-01-17 | 1 | -0/+14 |
| | | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org> | ||||
* | Fix tests for GitHub windows platform | Ned Batchelder | 2020-11-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | The tests were failing because of differences in file paths. It was comparing: C:\Users\runneradmin\AppData\... to: C:\Users\RUNNER~1\AppData\... and failing. These changes normalize the file paths so the comparisons work properly. | ||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 1 | -3/+3 |
| | |||||
* | Don't do vars and users in abs_file | Ned Batchelder | 2019-11-28 | 1 | -1/+1 |
| | | | | It meant file names could be incorrectly expanded. | ||||
* | Fix a test to get case right on Windows | Ned Batchelder | 2019-01-28 | 1 | -1/+1 |
| | |||||
* | Make sure that the cache is properly filled. (25x speedup on our system that ↵ | Stephan Richter | 2019-01-28 | 1 | -0/+13 |
| | | | | | | has a large sys.path.) It is always a bad idea to reassign the cachekey during the computation. | ||||
* | Move fiddly fnmatch logic into its own testable function | Ned Batchelder | 2018-09-02 | 1 | -1/+50 |
| | |||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | Ensure mapped paths use the separator of the result. #618 | Ned Batchelder | 2018-01-22 | 1 | -0/+32 |
| | |||||
* | Don't ever create HTML filenames longer than ~200 chars. Fixes #627. | Ned Batchelder | 2018-01-20 | 1 | -3/+21 |
| | |||||
* | Skip an obscure case that confuses me on Windows | Ned Batchelder | 2017-11-04 | 1 | -1/+6 |
| | |||||
* | Root is acceptable as a combining path (the manylinux tests end up with one ↵ | Ned Batchelder | 2017-10-26 | 1 | -1/+4 |
| | | | | of these) |