|
|
|
|
|
by BatteryMountain
1386 days ago
|
|
Seconded. Only ever add tests after you have a working version. Starting a greenfield project with TDD is a waste of time. Just get something out then start testing your assumptions with unit tests, even then, don't test the whole codebase, test your fundamental assumptions and core features (like user auth, roles, permissions and their invocations, esp if multi-tenanted). |
|
In TDD, all production code must be written against some pre-existing test. Any code which does not meet this criterion is broken.