DEV Community

Discussion on: What’s an unpopular software opinion you have?

Collapse
 
elmuerte profile image
Michiel Hendriks

You should only unit test units which are worthwhile to test. No need to test setters and getters unless they contain business logic. Requiring a minimum coverage is bad. But aiming for a minimum isn't.