"All tests passed" means little when the agent ran the wrong test suite

yashna005 · reddit · 2026-11-24

While trying MemT 1.0, the author hit a classic trap: the obvious test command only covered part of the project, while the backend needed its own command, run from its own directory, with a local database. The AI assistant confidently reported "tests passed" — but only by watching which directory and command it used did the author realize it ran the wrong suite.

The author's mitigation: put this in Claude Code's CLAUDE.md since it's verifiable, though stale internal-memory instructions after setup changes remain a tracking problem; the README stays. Ends with a question to readers: what command in your repo runs perfectly and tells you almost nothing?

Original post →

More from coding & agent

coding & agent channel →