Your unit tests should show you where your code coverage is low or even non-existant. Karma is easily configured to run a coverage report.
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/ESzkqU04djY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
It will help with identifying code that has no tests against it, but that's about all. In a situation like this, I tend to resort to the Find function of my IDE. I start with modules that I suspect are not being used and search for their injection points. If I find none, then I comment out the file in the index.html page and run the application (this is where E2E testing can really help.) If everything runs correctly, I remove the line from the index.html file, delete the module and the tests, and move on to the next one. Having been developing the app that is my main project at work for just over 2 years, this scenario has been played out a few times.
--