News for hackers. Stuff that matters.
Re:Unit Testing Is Overrated by 2rsf on Thursday July 09, 2020 @08:38AM (#23779515)
and it's not just that, for example branch coverage only says that you branched but not how, a complex branch might need more than one test to be fully, or decently, tested.
Re:Unit Testing Is Overrated by zzzcpan on Thursday July 09, 2020 @08:49AM (#23779606)
Right, essentially you have to be aware that you are testing the state space the code might end up in, which is very different from just hitting every line of code or every branch.