You should unit test as much of your application as possible .
For each line of code you write, you need to make sure that it works. If you are not a unit test, you need to test it in some other way. Even launching a site and clicking around is a kind of testing.
When you compare unit testing with other types of testing (including launching a site and using it manually), unit tests tend to give a better return on investment because they are relatively easy to write and maintain, and they can give you quick feedback on whether you entered a regression error or not.
I'm not saying that there is no overhead when writing unit tests - there is, but there is overhead for any testing and big overhead for not testing at all (because the regression errors slip quite easily).
- , unit test .