DEV Community

loading...

Discussion on: Do you unit test private methods?

Collapse
phlash909 profile image
Phil Ashby

If you have code coverage measures in place, you can also eliminate dead code this way too - if those private methods never run with a full contract test in place - nuke 'em!