News for hackers. Stuff that matters.
Re:Stop Using Mocks by jjrumi on Wednesday March 23, 2011 @12:26PM (#2360058)
For instance, you can have a test result of 100% line coverage but if you have composed conditionals and you only check the first part of them... you are NOT checking all the paths of your code.
Re:Stop Using Mocks by limmeau on Wednesday March 23, 2011 @06:15PM (#2361709)
There are a couple of well-established advanced criteria like decision coverage, condition coverage, MC/DC to choose from if statement coverage isn't enough.