Skip to content

docs(testing): correct four stale claims in TESTING.md - #1404

Merged
lex00 merged 1 commit into
mainfrom
docs/testing-md-truth
Aug 3, 2026
Merged

docs(testing): correct four stale claims in TESTING.md#1404
lex00 merged 1 commit into
mainfrom
docs/testing-md-truth

Conversation

@lex00

@lex00 lex00 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Second slice of the docs audit. Same method as #1399: check the falsifiable claims against source rather than read for plausibility.

Test Distribution was frozen at an early state

- **core**: 19 test files      actual: 219
- **aws**:  11 test files      actual: 102
- **cli**:   7 test files      actual:  49

The same failure as the lexicons' At-a-Glance tables in #1312 — a count written into prose, correct once, checked by nothing since. Replaced with a description of where tests live plus the find that counts them, rather than three numbers that will be wrong again in a month.

A path that has not existed since the reorganization

packages/aws/src/spec/fetch.test.ts, twice — once as prose, once as a command to run. There is no packages/aws; the file is at lexicons/aws/src/spec/fetch.test.ts.

"all 6 lexicons" — right once, wrong four times

The number was shared between harnesses that genuinely differ:

Script Actually covers
test/integration.sh 6 — aws, azure, gcp, gitlab, k8s, docker (six test_lexicon calls)
test/npm-smoke.sh 8 — those plus fly and fountain
test/smoke.sh 8 — same list

So the claim was accurate for integration.sh and understated the other two by two lexicons each. Each claim now names its own script's coverage.

What checked out

Every just recipe named in the file exists in the justfile; every npx tsx script path exists; the remaining backticked paths are relative filenames within a discussed directory rather than repo paths.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Jp6SP7ZiavhoEB1AFuwwoJ

**Test Distribution** claimed 19 core / 11 aws / 7 cli test files. Actual: 219,
102, 49. The same failure as the lexicons' At-a-Glance tables — a count written
into prose, frozen at whenever it was written, checked by nothing. Replaced
with a description of where tests live plus the `find` that counts them, rather
than a number that will be wrong again in a month.

**`packages/aws/src/spec/fetch.test.ts`** does not exist and has not since the
lexicons moved out of `packages/`. The file is at `lexicons/aws/...`. Two
occurrences, one of them a command to run.

**"all 6 lexicons"**, five occurrences, was right in one place and wrong in
four. `integration.sh` really does test six (aws, azure, gcp, gitlab, k8s,
docker — six `test_lexicon` calls); `npm-smoke.sh` and `smoke.sh` both iterate
eight, adding fly and fountain. Each claim now names its own script's coverage
instead of sharing one number between harnesses that differ.

Found by checking TESTING.md's falsifiable claims against source: every `just`
recipe against the justfile, every `npx tsx` path against the tree, every
backticked file path, and every count. The recipes and script paths were all
correct.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jp6SP7ZiavhoEB1AFuwwoJ
@lex00
lex00 merged commit 891e0b4 into main Aug 3, 2026
5 checks passed
@lex00
lex00 deleted the docs/testing-md-truth branch August 3, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant