-2
TDD is usually used during development. But what about when you walk into a company, get the code all messed up and see the urgent need for improvement and of course, test coverage? How to proceed? How to test if all functionalities are implemented and functional?
This question has no answer! 100% coverage is crazy even when planned from the start. All you can do is write the tests slowly, starting with what gives you more trouble.
– user15694
@user15694 Welcome to Stack Overflow! Could explain better, preferably by providing facts and data?
– gmsantos
I also think there is no answer, what I would do is, create the tests for the main features of the application, so I could start developing and refactoring without having major headaches.
– kLn