docs(CLAUDE.md): a test reads only tracked files
Copy what a test needs from bridges/captures/ or example-events/ into tests/fixtures/ (git add -f), never guard a fixture with a skip, and check with a fresh worktree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
This commit is contained in:
1 parent
a7f9f66da1
commit
e071be7ee0
1 file changed
+8
@@ -1105,6 +1105,14 @@ dated subdirectory under `tests/fixtures/` (e.g. `tests/fixtures/5-18-26/`).
|
|||||||
There used to be a separate `decode-re/` upload mirror but it was
|
There used to be a separate `decode-re/` upload mirror but it was
|
||||||
removed once the fixtures directory became the canonical location.
|
removed once the fixtures directory became the canonical location.
|
||||||
|
|
||||||
|
⚠ **A test reads only tracked files** (2026-11-20). `bridges/captures/`,
|
||||||
|
`example-events/` and most of `tests/fixtures/` are gitignored, so a file a test
|
||||||
|
reads from there exists only on this box: a fresh checkout then fails or skips
|
||||||
|
it. Copy what the test needs into `tests/fixtures/` and `git add -f` it
|
||||||
|
(captures go under `tests/fixtures/captures/<their folder>/`), and do not guard a
|
||||||
|
fixture with a skip -- a missing fixture should fail. A fresh worktree is the
|
||||||
|
check: it must pass as the dev box does.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Protocol fundamentals
|
## Protocol fundamentals
|
||||||
|
|||||||
Reference in new issue
Block a user