Repository navigation
docs(conventions): a test-coverage convention - #1225
Conversation
|
Coverage: 88.91% (unit tier, Python 3.14,
Per-file detail: the |
|
Cross-review verdict on Six statements are inaccurate:
|
36b4923 to
498e4ac
Compare
|
Cross-review verdict on
|
Adds docs/source/contributing/conventions/test-coverage.rst: round trips as invariants with shrink-only known-failure tables, every change raising coverage with a fail-without-fix proof, how to run the tests, and what a new protocol, option or dumper must bring. Linked from the conventions index and testing.rst; the anchor joins ANCHORS in test_conventions_doc_claims.py. Closes #1203
498e4ac to
c960d17
Compare
|
Verdict on
|
make pylint,make mypy,make isort)make testpasses, and a test case covers the changeWhat is the purpose of your pull request?
docs— documentation onlyDescription of your pull request and other information
Closes #1203. Adds
docs/source/contributing/conventions/test-coverage.rst(anchortest-coverage):file:lineand an issue; test: round-trip coverage for every protocol code, dumper and lossless path #1202 extends coverage), the harness guards, and a spec check next to every cycle.reimport_once_per_class,util/run_unittest_leg.py.Linked from the conventions index and
testing.rst.test-coverageis added toANCHORSintests/project/test_conventions_doc_claims.py; the page pins no figure.pytest tests/project -q: 389 passed, 1 skipped, 1314 subtests passed. Sphinx build of the worktree has no warnings on the changed pages; checked the rendered HTML for raw markup.