A legacy report with no specification and forty branches cannot be unit tested, and it can be pinned: record what it produces today and fail when that changes.…
A repository test against a mocked connection asserts that the code calls the methods you expected, which is a restatement of the code rather than a check on…
A test that reaches into component state asserts on the implementation, and every refactor that changed nothing observable breaks it. Querying by role rather than by test id…
An N+1 fixed by eager loading can be replaced by a memory problem, and a query-count assertion reports the page as healthy while it hydrates forty thousand objects.…
Ninety-four percent coverage and a suite that passes with the comparison inverted, because coverage measures execution rather than verification. The three numbers say different things: MSI is over…