summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* fix: lcov command didn't report a total, so --fail-under didn't workNed Batchelder2022-12-311-6/+13
|
* test: a sorted_lines helperNed Batchelder2022-12-315-18/+19
|
* mypy: check tests/goldtest.py, tests/test_html.pyNed Batchelder2022-12-312-94/+113
|
* mypy: check tests/helpers.pyNed Batchelder2022-12-311-34/+62
|
* mypy: add data.py and test_api.pyNed Batchelder2022-12-313-140/+161
|
* test: add a test of unknown dynamic-contextNed Batchelder2022-12-311-0/+6
|
* test: greenlet isn't on all versions we test onNed Batchelder2022-12-311-1/+5
|
* refactor: removed mentions of Jython and IronPythonNed Batchelder2022-12-3010-87/+13
|
* test: seven tests that fail because of pypy 3882Ned Batchelder2022-12-302-3/+20
| | | | https://foss.heptapod.net/pypy/pypy/-/issues/3882
* style: correct some lint errorsNed Batchelder2022-12-301-2/+0
|
* mypy: inorout.py, disposition.py, and part of control.pyNed Batchelder2022-12-302-2/+4
|
* refactor: @contract is completely goneNed Batchelder2022-12-291-1/+1
|
* mypy: check tomlconfig.pyNed Batchelder2022-12-291-0/+1
|
* fix: [tools.coverage] is valid for settings in a toml file. #1516Ned Batchelder2022-12-271-0/+13
|
* test: run mypy on config.pyNed Batchelder2022-12-271-6/+7
|
* refactor: remove more of the PyContracts stuffNed Batchelder2022-12-271-53/+2
|
* fix: adjust some PyPy behaviors. #1515Ned Batchelder2022-12-274-18/+8
|
* test: remove obsolete skipsNed Batchelder2022-12-242-28/+0
|
* fix: also look into .whl files for sourceNed Batchelder2022-12-231-0/+3
|
* fix: certain strange characters caused reporting to fail. #1512Ned Batchelder2022-12-231-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. #1513Ned Batchelder2022-12-231-2/+8
|
* fix: when checking source existence for remapping, zipfiles are okNed Batchelder2022-12-011-1/+30
|
* fix: prevent infinite recursionNed Batchelder2022-12-011-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 insteadNed Batchelder2022-12-011-6/+5
| | | | This keeps the total number of tests the same in all situations.
* feat: file paths are only remapped if the result existsNed Batchelder2022-11-294-13/+26
|
* style: fix spellingNed Batchelder2022-11-284-13/+13
| | | | un-executed, white space, time stamp.
* feat: implicit path mapping during reporting. #1212Ned Batchelder2022-11-272-2/+149
|
* perf: more combine speed-upsNed Batchelder2022-11-201-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 numbersNed Batchelder2022-11-172-7/+12
|
* feat: added support for finding unexecuted namespace packages (#1387)Felix Horvat2022-11-172-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 Batchelder2022-11-111-11/+0
|
* fix: path-mapped results shouldn't start with ./Ned Batchelder2022-11-081-0/+7
| | | | Unless the actual result in the config starts with ./
* perf: hash data files during combining to avoid unneeded work. #1483Ned Batchelder2022-11-082-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 unicodeNed Batchelder2022-11-062-10/+2
|
* refactor: no need for special handling of compiling unicode sourceNed Batchelder2022-11-062-116/+4
| | | | This was a holdover from Python 2 days.
* fix: only accept known values for --formatNed Batchelder2022-11-062-0/+11
|
* fix: don't write two rules for an empty table.Ned Batchelder2022-11-061-11/+10
|
* fix: an empty file shouldn't fail with --fail-under=99. #1470Ned Batchelder2022-11-061-1/+2
|
* feat: --format=total writes just the total numberNed Batchelder2022-11-061-1/+9
|
* refactor: use `format` wherever we canNed Batchelder2022-11-052-4/+3
|
* feat: report terminal output in Markdown Table format #1418 (#1479)stepeos2022-11-052-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. #1421Ned Batchelder2022-11-031-0/+13
|
* test: a utility print for when reporting tests failNed Batchelder2022-11-021-0/+1
|
* fix: more relative_files=true fixes. #1280Ned Batchelder2022-10-301-0/+32
|
* fix: use glob matching instead of fnmatch. #1407Ned Batchelder2022-10-303-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.pyNed Batchelder2022-10-281-4/+21
|
* fix: in toml config, only apply environment substitution to coverage ↵Ned Batchelder2022-10-281-7/+12
| | | | settings. #1481
* test: simulate the failure from issue #1481Ned Batchelder2022-10-281-0/+4
|
* build: 3.11.0 and 3.12.0a1 are availableNed Batchelder2022-10-271-1/+1
|
* test: use modern pytest hook syntaxNed Batchelder2022-10-261-1/+1
|