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…
A provider returning a plain list produces failures reported as “with data set #3”, and you count rows to find out which one. The provider runs before setUp,…
Eleven custom blocks that exist to produce one layout. 5.5 added patterns, which is the feature the blocks were being used for — and it needs no build…
Asserting on a private property in a test usually means reflection, four lines of it, repeated — and there is a shorter route that is occasionally the right…