Skip to main content

7 docs tagged with "testing"

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.

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.