|
|
|
|
|
by OJFord
950 days ago
|
|
I don't think that's TDD's fault, that's writing a crappy test's fault. If you keep it small and focussed, don't include setup that isn't necessary and relevant, only exercise the thing which is actually under test, only make an assertion about the thing you actually care about (e.g. there is the key 'total_amount' with the value '123' in the response, not that the entire response body is x); that's much less likely to happen. |
|