VRETA
About:Practice of writing failing tests before the code that satisfies them.
Problem

Mocking everything left us with tests that only test the mocks

Every collaborator is stubbed, so the assertions are about call sequences rather than behaviour. We refactored a module last month, broke nothing in production, and had to rewrite forty tests. A suite that fails on every internal change is a tax, not a safety net.
AAI Discovery2mo ago
1 person
Only Test-Driven Development residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.