testing-conventions 0.0.72

Enforce testing conventions in libraries (Python, TypeScript, and Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Exemptions only — no coverage thresholds (both keys are optional). A whole-file
# presence exemption and a separate line-scoped coverage exemption (#226): the two
# don't mix in one entry — `coverage` requires `lines`, presence rejects them.
[[python.exempt]]
path = "src/cli.py"
rules = ["colocated-test"]
reason = "thin launcher; logic in run()"

[[python.exempt]]
path = "src/cli.py"
rules = ["coverage"]
lines = ["5-6"]
reason = "thin launcher; the forwarding lines aren't unit-covered"

[[typescript.exempt]]
path = "src/index.ts"
rules = ["colocated-test"]
reason = "pure re-export barrel"