Conflict Resolution

Green Tests Don’t Mean It Built What You Asked

Inspired by Episode 16: Where’s the View?

You’re reading a subscriber article on a free read. You have 1 free read left. Subscribe free for the whole archive.

Episode 16’s screen is all green: unit, integration, access, build. The view Paul asked for doesn’t exist. Nobody lied. The tests were written for what Nova built, so of course they pass. Tests prove the code works. They don’t prove it’s the code you asked for.

Check the shape, not just the result

  1. Write the agreement down. “One view, project_access, used by every query that asks who is on a project.”
  2. Turn it into a check. The view exists in the schema. No query outside it joins those tables directly.
  3. Ask for a plan-versus-build report. Each agreed item, and where it is in the diff.

Prompt to steal

Before you report done: list each design decision we agreed on, and show
where the code implements it (file and line). If you did anything
differently, say so first, with the reason. Passing tests are not enough.

Green means “works”. Only you can say whether it’s what you asked for.

More lessons from Episode 16

Paul’s Desk · Affiliate picks

Paul’s Desk

Gear for the fix.

As an Amazon Associate, Commits and Conflicts earns from qualifying purchases.

All of Paul’s Desk ›