Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcase | Ned Batchelder | 2021-03-11 | 5 | -64/+12 |
| | | | | | | The auto-decorating metaclass was interfering with parameterized methods on Python 2.7. But we don't need it anymore anyway, since pytest will let us hook to deal with the exception in a simpler way. | ||||
* | test: add tests of make_file | Ned Batchelder | 2021-03-11 | 1 | -0/+56 |
| | | | | These are copied from unittest_mixins, and adapted to pytest. | ||||
* | refactor: move tests into classes | Ned Batchelder | 2021-03-11 | 1 | -54/+63 |
| | | | | Now that we don't inherit from TestCase, pytest can parametrize methods. | ||||
* | refactor: no need for our own xfail wrapper | Ned Batchelder | 2021-03-11 | 2 | -9/+3 |
| | |||||
* | test: skip a test on pypy | Ned Batchelder | 2021-03-11 | 1 | -5/+4 |
| | | | | | | I thought I knew when this passed and when it failed. Now that our tests are not TestCase's, pytest is enforcing the xfails. This passes locally on Mac, but fails in CI on Mac. So skip it. | ||||
* | test: show more information for not-passed tests | Ned Batchelder | 2021-03-11 | 3 | -4/+4 |
| | |||||
* | test: Use 3.10 alpha.6 | Ned Batchelder | 2021-03-11 | 3 | -3/+3 |
| | |||||
* | refactor: use pytest.skip instead of unittest's | Ned Batchelder | 2021-03-11 | 2 | -7/+12 |
| | |||||
* | test: include the category of pylint messages in the output | Ned Batchelder | 2021-03-11 | 1 | -1/+1 |
| | |||||
* | test: reduce use of unittest | Ned Batchelder | 2021-03-11 | 11 | -52/+166 |
| | |||||
* | test: have pytest collect test classes uniformly | Ned Batchelder | 2021-03-11 | 7 | -17/+9 |
| | |||||
* | refactor: no need for specialized assert_starts_with method | Ned Batchelder | 2021-03-06 | 4 | -18/+2 |
| | |||||
* | refactor: replace unittest_mixins.EnvironmentAwareMixin with a pytest adapter | Ned Batchelder | 2021-03-04 | 2 | -2/+20 |
| | |||||
* | build: excluding .github from ignore makes rg search it | Ned Batchelder | 2021-03-03 | 2 | -2/+2 |
| | |||||
* | Removed python_requires="<4" | Nicholas Nadeau, Ph.D., P.Eng | 2021-03-03 | 1 | -1/+1 |
| | | | Python 4 doesn't exist, this requirement is redundant | ||||
* | feat: percent_covered_display in the JSON reportnedbat/tweak-metacov | Ned Batchelder | 2021-03-02 | 4 | -6/+19 |
| | |||||
* | test: correct two pragmas | Ned Batchelder | 2021-03-02 | 1 | -1/+3 |
| | |||||
* | test: run the coverage action on branches named metacov | Ned Batchelder | 2021-03-02 | 1 | -0/+1 |
| | |||||
* | build: clean up pip files | Ned Batchelder | 2021-03-01 | 11 | -13/+14 |
| | | | | | auditwheel only installs on Python 3. So only install it where we need it, and clean up other .pip files along the way. | ||||
* | Merge branch 'nedbat/310-kits' | Ned Batchelder | 2021-03-01 | 3 | -5/+62 |
|\ | |||||
| * | build: build 3.10 wheels | Ned Batchelder | 2021-03-01 | 3 | -5/+62 |
| | | |||||
* | | refactor: remove unused code paths | Ned Batchelder | 2021-02-28 | 1 | -18/+20 |
| | | |||||
* | | build: version bump | Ned Batchelder | 2021-02-28 | 2 | -1/+7 |
|/ | |||||
* | docs: use sphinxcontrib for the rst buildercoverage-5.55.5 | Ned Batchelder | 2021-02-28 | 2 | -5/+3 |
| | |||||
* | build: a better kit-building link | Ned Batchelder | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | build: version 5.5 prep | Ned Batchelder | 2021-02-28 | 4 | -7/+9 |
| | |||||
* | doc: latest sample HTML report | Ned Batchelder | 2021-02-28 | 13 | -34/+61 |
| | |||||
* | fix: don't report branches to missing lines. #1065 | Ned Batchelder | 2021-02-28 | 4 | -7/+15 |
| | | | | | Fixes: #1065 Fixes: #955 | ||||
* | test: fix a few metacov exclusions | Ned Batchelder | 2021-02-28 | 2 | -2/+2 |
| | |||||
* | docs: correct the GitHub action badges | Ned Batchelder | 2021-02-28 | 1 | -4/+7 |
| | |||||
* | fix: improve an error message. #803 | Ned Batchelder | 2021-02-28 | 3 | -4/+10 |
| | | | | Fixes #803. | ||||
* | build: coverage ci should fail fast | Ned Batchelder | 2021-02-28 | 1 | -1/+2 |
| | | | | | The whole point of the coverage workflow is to combine the results at the end. If one job fails, stop everything. | ||||
* | refactor: remove unused exception handling | Ned Batchelder | 2021-02-28 | 1 | -24/+13 |
| | |||||
* | 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 |
| |