re: The tragedy of 100% code coverage VIEW POST

FULL DISCUSSION
 

In my opinion, a bright developer should know what pieces of code are worth to test and those that are not. Even if they are required to meet a coverage number I had expected a way better response from those devs. Were they very junior developers? Maybe not so exposed to unit testing before?

 

Hi Israel,

I don't think writing good tests is easy, no matter how bright you are. Writing good test is as difficult as writing good production code.

I see a big cargo cult around testing in the Java world (not sure about other communities), which is difficult to see from within, and more difficult to go against, specially if your team lead and your teammates are part of it.

Thanks for the comments!

Dan

code of conduct - report abuse