Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix: HTML line visibility is saved in local storage #1123 | Ned Batchelder | 2021-02-27 | 2 | -10/+44 | |
| | | | | | | | Seems like we could unify the two different uses of localStorage, but that's for another time. Fixes: #1123 | |||||
* | fix: HTML report makes room for 4-digit line numbers #1124 | Ned Batchelder | 2021-02-27 | 4 | -13/+17 | |
| | | | | Fixes: #1124 | |||||
* | test: add tests of report sorting options | Ned Batchelder | 2021-02-26 | 1 | -0/+10 | |
| | ||||||
* | refactor: remove unneeded code | Ned Batchelder | 2021-02-26 | 1 | -5/+2 | |
| | ||||||
* | build: update to latest pylint | Ned Batchelder | 2021-02-26 | 6 | -9/+9 | |
| | ||||||
* | test: add a test of missing sections and options | Ned Batchelder | 2021-02-25 | 2 | -2/+14 | |
| | ||||||
* | refactor: put a test in a more appropriate class | Ned Batchelder | 2021-02-25 | 1 | -11/+11 | |
| | ||||||
* | test: lines with `if not env.METACOV` won't be metacovered | Ned Batchelder | 2021-02-25 | 1 | -0/+1 | |
| | ||||||
* | refactor: simplify a one-iteration loop | Ned Batchelder | 2021-02-25 | 1 | -4/+3 | |
| | ||||||
* | build: run on Python 3.10 alpha 5 | Ned Batchelder | 2021-02-25 | 8 | -6/+25 | |
| | | | | | This required pinning setuptools more aggressively, and cleaning up some dependency sloppinesss. | |||||
* | build: make yaml syntax more uniform | Ned Batchelder | 2021-02-25 | 5 | -31/+35 | |
| | ||||||
* | build: nicer publishing of HTML report | Ned Batchelder | 2021-02-24 | 4 | -21/+57 | |
| | | | | Also, this correctly combines results from different runners. | |||||
* | test: oops, accidentally always skipped this test | Ned Batchelder | 2021-02-24 | 1 | -1/+1 | |
| | ||||||
* | test: add tests of the failure asserts from check_coverage | Ned Batchelder | 2021-02-22 | 2 | -3/+54 | |
| | | | | This brings the coverage of tests/coveragetest.py to 100%. | |||||
* | refactor: slightly better coverage in coveragetest | Ned Batchelder | 2021-02-21 | 3 | -5/+5 | |
| | ||||||
* | build: create an HTML file to redirect to the coverage report | Ned Batchelder | 2021-02-21 | 1 | -4/+21 | |
| | ||||||
* | build: use a nicer directory name for reports | Ned Batchelder | 2021-02-21 | 1 | -2/+7 | |
| | ||||||
* | build: publish metacov to a ghpages repo | Ned Batchelder | 2021-02-21 | 1 | -0/+19 | |
| | ||||||
* | build: pin astroid since pylint doesn't | Ned Batchelder | 2021-02-21 | 1 | -0/+1 | |
| | | | | Without this pin, pylint runs can change over time as astroid changes. | |||||
* | fix: avoid tracing pytracer.py | Ned Batchelder | 2021-02-21 | 1 | -8/+37 | |
| | | | | Also, adjust the logging available in pytracer | |||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 14 | -107/+53 | |
| | ||||||
* | refactor: a better way to skip these tests | Ned Batchelder | 2021-02-07 | 1 | -5/+1 | |
| | ||||||
* | refactor: we weren't using this __eq__ | Ned Batchelder | 2021-02-07 | 1 | -3/+0 | |
| | ||||||
* | refactor: make all coverage.env uses uniform | Ned Batchelder | 2021-02-07 | 1 | -2/+2 | |
| | ||||||
* | test: metacov is always xdist | Ned Batchelder | 2021-02-07 | 1 | -1/+1 | |
| | ||||||
* | test: quiet a misleading coverage miss | Ned Batchelder | 2021-02-07 | 1 | -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 metacov | Ned Batchelder | 2021-02-07 | 1 | -1/+0 | |
| | | | | I forget why I thought they couldn't run during meta-coverage. | |||||
* | test: more-uniform skipping of test during metacov | Ned Batchelder | 2021-02-07 | 3 | -25/+16 | |
| | ||||||
* | build: improved combined coverage action | Ned Batchelder | 2021-02-07 | 2 | -8/+33 | |
| | | | | | | - codecov wants more history. - make a downloadable HTML report. | |||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 11 | -62/+56 | |
| | | | | Another step toward removing unittest.TestCase. | |||||
* | Merge pull request #1113 from nedbat/nedbat/capsys | Ned Batchelder | 2021-02-02 | 8 | -66/+108 | |
|\ | | | | | More unittest removal | |||||
| * | refactor: remove reliance on unittest_mixins.StdStreamCapturingMixin | Ned Batchelder | 2021-02-02 | 6 | -26/+62 | |
| | | | | | | | | This is another step toward removing unittest.TestCase as a base class. | |||||
| * | refactor: move test mixins to their own file | Ned Batchelder | 2021-02-02 | 4 | -32/+46 | |
| | | ||||||
| * | refactor: remove unused methods | Ned Batchelder | 2021-02-02 | 1 | -9/+1 | |
|/ | ||||||
* | doc: avoid latin abbreviations | Ned Batchelder | 2021-02-01 | 2 | -1/+2 | |
| | ||||||
* | update config file doc to mention descending sort | Arthur Deygin | 2021-02-01 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #1111 from nedbat/nedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 34 | -1344/+1239 | |
|\ | | | | | Use unittest2pytest to convert assertions | |||||
| * | test: keep multi-assert arc diffs working | Ned Batchelder | 2021-01-31 | 2 | -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.py | Ned Batchelder | 2021-01-31 | 1 | -0/+4 | |
| | | ||||||
| * | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 20 | -167/+179 | |
| | | ||||||
| * | build: quiet a silly pylint warning | Ned Batchelder | 2021-01-31 | 1 | -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 imports | Ned Batchelder | 2021-01-31 | 14 | -14/+21 | |
| | | ||||||
| * | style: singleton comparisons should use is | Ned Batchelder | 2021-01-31 | 8 | -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 method | Ned Batchelder | 2021-01-31 | 1 | -4/+4 | |
| | | ||||||
| * | test: adapt to pytest assertion messages | Ned Batchelder | 2021-01-31 | 2 | -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 brokenness | Ned Batchelder | 2021-01-31 | 2 | -17/+21 | |
| | | | | | | | | | | | | | | unittest2pytest created syntax errors, reported here: https://github.com/pytest-dev/unittest2pytest/issues/51 This commit fixes them back. | |||||
| * | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 31 | -1294/+1165 | |
|/ | | | | One step of moving to pure pytest tests. | |||||
* | build: clearly label auto-generated files | Ned Batchelder | 2021-01-30 | 10 | -0/+20 | |
| | ||||||
* | build: next version will be 5.5 | Ned Batchelder | 2021-01-30 | 1 | -1/+1 | |
| | | | | Since we've added a feature (combine --keep). | |||||
* | style: nicer long function call | Ned Batchelder | 2021-01-30 | 1 | -2/+7 | |
| |