A collection asserting that the total is 4900 fails whenever the seed data changes, which is every sprint — and gets deleted rather than fixed. Asserting on presence…
Truncating every table between tests costs a statement per table per test; a transaction and a rollback is one of each. The second-connection case produces a genuinely confusing…
The documentation was written in January and the API changed in March. Documentation written by hand is a copy, and copies drift — usually within a sprint.
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…
Truncating every table between tests costs a statement per table per test, which on forty tables and four hundred tests is sixteen thousand statements; a transaction and a…