Skip to content

Commit bdb93cf

Browse files
committed
chore(claude): CLAUDE.md to avoid change detector tests
1 parent 6284ed8 commit bdb93cf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ make clean # Clean Bazel cache
187187
### Testing
188188

189189
- **Avoid asserting on error messages** — assert on error type or generic error.
190+
- **No change detector tests** — don't assert on default values, internal structure, or implementation details that can change without affecting behavior. Test what the code *does*, not how it's constructed.
190191
- **No `time.Sleep` for synchronization** — use channels, callbacks, condition variables.
191192
- **Use testify**`assert`/`require` instead of `t.Fatal()`.
192193

0 commit comments

Comments
 (0)