summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* refactor: convert all skipping to pytest skipsnedbat/better-combine-actionNed Batchelder2021-02-0614-107/+53
|
* refactor: a better way to skip these testsNed Batchelder2021-02-061-5/+1
|
* refactor: we weren't using this __eq__Ned Batchelder2021-02-061-3/+0
|
* refactor: make all coverage.env uses uniformNed Batchelder2021-02-061-2/+2
|
* test: metacov is always xdistNed Batchelder2021-02-061-1/+1
|
* test: quiet a misleading coverage missNed Batchelder2021-02-061-1/+3
| | | | | We need this on Python 2, but in testing environments, a backport is installed, so this import isn't used.
* test: these tests can run during metacovNed Batchelder2021-02-061-1/+0
| | | | I forget why I thought they couldn't run during meta-coverage.
* test: more-uniform skipping of test during metacovNed Batchelder2021-02-063-25/+16
|
* build: improved combined coverage actionNed Batchelder2021-02-062-7/+30
| | | | | | - codecov wants more history. - make a downloadable HTML report.
* refactor: remove unittest.assertCountEqualNed Batchelder2021-02-0611-62/+56
| | | | Another step toward removing unittest.TestCase.
* Merge pull request #1113 from nedbat/nedbat/capsysNed Batchelder2021-02-028-66/+108
|\ | | | | More unittest removal
| * refactor: remove reliance on unittest_mixins.StdStreamCapturingMixinNed Batchelder2021-02-026-26/+62
| | | | | | | | This is another step toward removing unittest.TestCase as a base class.
| * refactor: move test mixins to their own fileNed Batchelder2021-02-024-32/+46
| |
| * refactor: remove unused methodsNed Batchelder2021-02-021-9/+1
|/
* doc: avoid latin abbreviationsNed Batchelder2021-02-012-1/+2
|
* update config file doc to mention descending sortArthur Deygin2021-02-011-0/+1
|
* Merge pull request #1111 from nedbat/nedbat/unittest2pytestNed Batchelder2021-01-3134-1344/+1239
|\ | | | | Use unittest2pytest to convert assertions
| * test: keep multi-assert arc diffs workingNed Batchelder2021-01-312-27/+23
| | | | | | | | | | We don't have a way to do multi-assert in the pytest we're running, so cobble it together ourselves.
| * test: configure pytest assertion rewriting in coveragetest.pyNed Batchelder2021-01-311-0/+4
| |
| * style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-3120-167/+179
| |
| * build: quiet a silly pylint warningNed Batchelder2021-01-311-0/+1
| | | | | | | | | | It's good in tests to use `assert "expected" == actual()`, so why is pylint all up in my grill about it?
| * style: correct placement of auto-added pytest importsNed Batchelder2021-01-3114-14/+21
| |
| * style: singleton comparisons should use isNed Batchelder2021-01-318-17/+17
| | | | | | | | | | | | I guess the original line was wrong, but it would have been nice for unittest2pytest to fix it for me: https://github.com/pytest-dev/unittest2pytest/issues/52
| * refactor: mark an internal methodNed Batchelder2021-01-311-4/+4
| |
| * test: adapt to pytest assertion messagesNed Batchelder2021-01-312-10/+10
| | | | | | | | | | | | | | | | Bare "assert" statements don't produce the same assertion message as self.assertEqual did: they don't include the two values compared. For some of our own asserts, add back the detailed message. For some checks of asserts, it's fine that the values are missing because the longer messsage includes the information.
| * test: fix unittest2pytest brokennessNed Batchelder2021-01-312-17/+21
| | | | | | | | | | | | | | unittest2pytest created syntax errors, reported here: https://github.com/pytest-dev/unittest2pytest/issues/51 This commit fixes them back.
| * refactor: unittest2pytest -w testsNed Batchelder2021-01-3131-1294/+1165
|/ | | | One step of moving to pure pytest tests.
* build: clearly label auto-generated filesNed Batchelder2021-01-3010-0/+20
|
* build: next version will be 5.5Ned Batchelder2021-01-301-1/+1
| | | | Since we've added a feature (combine --keep).
* style: nicer long function callNed Batchelder2021-01-301-2/+7
|
* doc: touch-ups for `combine --keep`Ned Batchelder2021-01-307-8/+19
|
* Add combine --keep (#1110)Éric Larivière2021-01-308-14/+51
| | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long
* chore: update pylint (etc) versionsNed Batchelder2021-01-272-5/+7
| | | | Also: suppress some Python 3-only suggestions until later.
* refactor: Move post-processing into CoverageConfigNed Batchelder2021-01-271-7/+15
|
* Update the doc requirementsNed Batchelder2021-01-261-4/+7
|
* fix typos in changelogValentin Lab2021-01-262-3/+3
| | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
* Add versionadded info for the new 5.4 configuration optionsNed Batchelder2021-01-261-0/+4
|
* Version bumpNed Batchelder2021-01-262-1/+7
|
* Combine kit download with kit checkNed Batchelder2021-01-262-5/+6
|
* Remove unneeded slashcoverage-5.4Ned Batchelder2021-01-261-1/+1
|
* Prep for 5.4Ned Batchelder2021-01-247-15/+17
|
* Latest sample HTMLNed Batchelder2021-01-2411-21/+21
|
* Simplify the testing of the toml extra, fixing #1084Ned Batchelder2021-01-186-92/+44
|
* Add changelog for #1080 #577Ned Batchelder2021-01-172-1/+6
|
* fix: combine aliases on windows base dirs (ie: ``X:\``) (fixes: #577)Valentin Lab2021-01-172-2/+18
| | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
* skip_covered and skip_empty for HTML. #1090Ned Batchelder2021-01-106-39/+74
|
* I don't understand the codecov comments, so turn them offNed Batchelder2021-01-101-3/+1
|
* Mention PEP 626 in the changelogNed Batchelder2021-01-101-0/+5
|
* Better control over setup.py warningsNed Batchelder2021-01-101-1/+14
|
* Use the modern way to load modules by file name.Ned Batchelder2021-01-103-10/+25
| | | | | | | Python 3.10 finally got super-noisy about load_module, which has been deprecated since 3.4! https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module