Snapshot tests are usually a way of asserting that nothing changed, which is worth very little, until the change is one nobody intended. The snapshot caught a currency…
A full mutation run takes nine hours; a run over one directory takes eleven minutes and answers the question that matters. The gap between 94% coverage and 71%…
The argument that an interface with one implementation is waste ignores that the test double is a second implementation, and the argument that the double justifies it ignores…
A test that dispatched a job and then asserted on the database is testing two things and failing for two reasons. Splitting at the queue boundary is the…