On the other end of the spectrum, it’s common to see developers get so sucked into the dogma of TDD that they think they absolutely must achieve 100% code coverage, by any means necessary, even if that means they have to make their codebase more complex to pull it off.
People keep saying this, but I've yet to meet such a developer.
My team unit tests our Spring configurations in the name of 100% code coverage. We multiple unit test suits with over 1k LOC. Some classes have 3 separate unit test suites to achieve full coverage. They definitely exist.
62
u/KabouterPlop Oct 29 '17
People keep saying this, but I've yet to meet such a developer.