How does your team decide what is the "right" amount of coverage?

Posted by secretBuffetHero@reddit | ExperiencedDevs | View on Reddit | 194 comments

What are the discussions? Do you make exceptions? Are mocks allowed? Is it a % by line? is it branch coverage? Are there other static analysis metrics that you consider?

One exception I made was - "don't unit test data transfer objects and don't count them in metrics"