Unit and E2E (protractor) testing provide a solid testing ground to cover the front-end of your application, but there are other areas that need to be tested. The key thing to remember in this case is that testing anything should be simple and thus you you should use the right tool for the job.
So if you’re using unit testing to perform live tests at your website then you should probably look into using E2E tests with Protractor. Don’t use Unit testing to test your server-side API response syntax code and don’t use Karma to run your server-side tests (unless you use node.js).
So what tool do we use to perform testing?
Since we’re using AngularJS here, which is purely front-end code, we’ll stick to using Unit and E2E tests (using Protractor) like usual. However, if you’re still in the dark about how to test other areas of your application, here is a generalized breakdown of what tools might be useful depending on your situation: