DEV Community

Discussion on: Is it possible to get 100% test coverage

Collapse
 
sonnk profile image
Nguyen Kim Son

Yes it's possible but getting 100% coverage should not be the only goal. In a big project, it might make more sense to identify the most important user scenarios and add tests for these scenarios, instead of covering all possible cases.

Btw there are different types of coverage (Function, Statement, Edge, etc).