summaryrefslogtreecommitdiff
path: root/tests/test_summary.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: isolate user code from coverage.py internal code flags. #1524Ned Batchelder2023-01-091-0/+16
|
* mypy: use __future__ uniformly in checked filesNed Batchelder2023-01-051-0/+2
|
* mypy: test_debug.py test_execfile.py test_filereporter.py test_files.pyNed Batchelder2023-01-041-2/+2
|
* mypy: summary.py, test_summary.py, tests/coveragetest.pyNed Batchelder2023-01-041-63/+66
|
* refactor: removed mentions of Jython and IronPythonNed Batchelder2022-12-301-5/+3
|
* fix: only accept known values for --formatNed Batchelder2022-11-061-0/+6
|
* fix: don't write two rules for an empty table.Ned Batchelder2022-11-061-11/+10
|
* feat: --format=total writes just the total numberNed Batchelder2022-11-061-1/+9
|
* refactor: use `format` wherever we canNed Batchelder2022-11-051-2/+1
|
* feat: report terminal output in Markdown Table format #1418 (#1479)stepeos2022-11-051-34/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: use glob matching instead of fnmatch. #1407Ned Batchelder2022-10-301-0/+24
| | | | | | | 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.
* fix: don't create a data file when just trying to read one. #13286.4Ned Batchelder2022-05-221-0/+1
|
* style: parens should indent the same as their opening lineNed Batchelder2022-05-011-1/+1
|
* refactor(test): use math.isclose to check float valuesNed Batchelder2022-01-071-3/+4
|
* refactor(test): move unicode handling tests to individual test filesNed Batchelder2021-11-201-0/+17
| | | | Eight fewer sub-processes
* refactor(test): three more subprocesses gone in test_summary.pyNed Batchelder2021-11-201-22/+10
|
* refactor(test): avoid 8 subprocesses in test_summary.pyNed Batchelder2021-11-201-45/+29
|
* refactor: specialize exceptionsNed Batchelder2021-11-141-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.
* style: convert more string formatting to f-stringsNed Batchelder2021-11-111-1/+1
|
* test: don't use subprocesses where we don't have toNed Batchelder2021-10-131-53/+59
| | | | | | When running tests with `-n 0`, this shaves 4 seconds off the run time. When running the complete test suite with xdist, it takes 2 seconds longer!?
* refactor: use the get_report helperNed Batchelder2021-10-131-6/+1
|
* refactor: no longer need to explicitly omit site-packagesNed Batchelder2021-10-131-15/+0
| | | | 6.x omits site-packages automatically.
* refactor: convert existing imports to start_stop_importNed Batchelder2021-10-131-15/+6
|
* fix: use human sorting on human-readable thingsNed Batchelder2021-10-121-8/+18
|
* feat: warnings are now real warningsNed Batchelder2021-05-301-2/+3
| | | | | | This makes coverage warnings visible when running test suites under pytest. But it also means some uninteresting warnings would show up in our own test suite, so we had to catch or suppress those.
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+1
|
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-9/+8
|
* refactor: remove unneeded backward.py shimsNed Batchelder2021-05-011-4/+4
| | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-6/+3
|
* test: have pytest collect test classes uniformlyNed Batchelder2021-03-111-10/+1
|
* fix: don't report branches to missing lines. #1065Ned Batchelder2021-02-281-1/+1
| | | | | Fixes: #1065 Fixes: #955
* test: add tests of report sorting optionsNed Batchelder2021-02-261-0/+10
|
* build: update to latest pylintNed Batchelder2021-02-261-3/+3
|
* refactor: convert all skipping to pytest skipsNed Batchelder2021-02-071-10/+3
|
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-4/+3
|
* style: correct placement of auto-added pytest importsNed Batchelder2021-01-311-1/+2
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-129/+126
| | | | One step of moving to pure pytest tests.
* Always output TOTAL line.Judson Neer2021-01-061-26/+47
|
* More bitbucket->github urlsNed Batchelder2020-08-181-4/+4
|
* Fix broken sorting tests. Good catch, Jerin Peter GeorgeNed Batchelder2020-07-031-10/+11
|
* Simplify testing of --no-skip-covered, and add docsNed Batchelder2020-06-291-30/+0
|
* Add --no-skip-covered to allow negation of --skip-coveredAnthony Sottile2020-02-141-0/+30
|
* Adjust other env.PYPY tests to the latest wayNed Batchelder2019-12-311-1/+1
|
* Polish up cmd.rstNed Batchelder2019-12-081-1/+1
|
* Mark tests that don't need a temp dirNed Batchelder2019-11-251-0/+2
|
* Optionally skip empty files in reportsreybog902019-11-011-0/+45
|
* No need to pass coverage/config separately everywhereNed Batchelder2019-06-171-22/+15
|
* Refactor text reporting to use the same code paths as other reportsNed Batchelder2019-06-161-13/+12
|
* Use pylint 2.xNed Batchelder2019-05-131-7/+7
|
* Sort the text missing results by line number, not kindNed Batchelder2018-12-251-1/+1
|