|
|
|
|
|
by pydry
352 days ago
|
|
TDD only really works if the test in some sense mirrors the specification. Sometimes people manage it in which case it resembles a mini superpower but mostly they do not. If it mirrors the spec then few people would change it to be wrong to make the test work. |
|
I have only seen TDD used poorly, as a crutch, an alternative to thinking deeply about the problem space. If it can be done well I have not personally seen it. Perhaps SQLite, but such projects are an oddity.
To me tests at the spec level are largely user acceptance tests which are indeed very useful.