As you seem to know, modifying testing into an existing project is not easy. Your test writing method is the best way. Your problem is both the process and the technology- tests that everyone needs, or no one will use them.
The recommendation that I have heard and agree with is that you should not try to wrap tests around your existing code base right away. You will never end. Start by testing your process- fix so that each bug fix passes the test. This will begin to test your existing code over time. Of course, there should always be tests in the new code. In the end, you get coverage at a reasonable percentage, but it will take time.
One good book that I recommended to me is Effective Work With Deprecated Code by Michael S. Feathers. The title does not actually demonstrate this, but testing in the existing code base is the main theme of the book.
source share