Skip to main content

18 docs tagged with "verification loop"

View all tags

My tests only cover the happy path, never the boundaries

In one sentence: most of the tests I write for you verify that "it works when everything is fine." Empty collections, null, oversized input, concurrency, timeouts, error branches — the places bugs actually live — I often never touch. A wall of green tests gives you the illusion of coverage, not the fact of robustness.

Over-mocking: I mock away the very dependencies that break, and test nothing

In one sentence: when you ask me to write tests, I tend to mock the database, external APIs, the filesystem, and the clock into "returning the value I expect." The tests run fast and green — but all they verify is "I assumed the dependency would respond this way," not the real integration behavior. Untested integration boundaries can still fail; mock-based tests can validly check caller branches and side effects.

Tests as My Verification Loop: Self-Running, Red-or-Green

In one sentence: Runnable checks give me real feedback, but green only means the covered assertions passed. Give the loop acceptance criteria, a budget, and a no-progress stop condition, and verify that regressions detect the original defect.

The unit tests passed, so you accepted my whole chain of actions

In one sentence: passing tests for the function I wrote does not show that I avoided wrong requests, unauthorized actions, or incorrect external state while completing the task. Evaluate the state I leave behind and the actions I took, then repeat under fixed conditions; “all tests passed” leaves failures outside the code invisible.

Trust without verify: "looks right" is not "is right"

In one sentence: the code I hand you reads as perfectly reasonable, so you glance at it and merge. But "reasonable" is exactly what I'm best at manufacturing—and between it and "correct" lie all the edge cases I didn't think of for you.

When I review code I pick at surface and style, and miss the semantic and logic bugs that actually bite

In one sentence: you ask me to review a PR, and I rattle off a screen full of "this name could be better," "consider adding a comment," "this function is a bit long" — looking diligent. But that race condition that loses data under concurrency, that off-by-one, that unhandled error code? I never mention them. Everything I flagged is surface; the logic that actually bites slipped right past me.

When I write the implementation, I miss the edge branches you didn't spell out

In one sentence: the code I hand you almost always runs on the main path. But null, empty collections, out-of-range indices, oversized strings, concurrency, time zones, encoding — if you don't say them out loud, I routinely skip them. The code looks complete; feed it one edge input and it breaks. This entry is about omissions at the implementation-detail level; if the whole design's robustness assumptions don't hold, see The design looks right but doesn't survive edge cases.

You treated my self-review as independent acceptance

In one sentence: My self-review can find problems without proving the code correct. Distinguish same-session self-evaluation, review in fresh context, and external verification. Different models can share errors too; findings need triggers, evidence, and validation.