I am starting a new project and I want to use Test Driven Development, but I have problems understanding how to write tests when you do not have a data model or interfaces.
IMO, the data model and interfaces must be recorded. Then you need to perform a couple of functions to validate the data model, and the interfaces are ripe. (otherwise the changes will either be minimal). Then I will write unit tests. After this step, I think you can follow the TDD.
Is this the right approach?
On the other hand, does it seem that some of these new methods, such as TDD, do not take into account or document what to do for new projects.
source
share