I have a few questions.
Suppose I have a project that is at the testing stage, and then the customer wanted to cover the entire project with tests. For myself, I decided to use espresso , as I was less familiar with it. Yes, and Google says that coverage is up to 95%. From this arise two questions.
First, how to conduct testing correctly, I mean what to test, individual methods or functionality, since espresso works well with ui .
And the second question is, there is a development methodology using unit tests TDD , and I am familiar with it, everything is clear, step by step, tests are written cyclically and the project is being developed, but I haven’t come across writing tests to a ready project.
Where should I start and how to organize my work? Maybe it makes sense to simply cover the main functionality with tests, not much affecting the work of individual methods?