Hacker News new | past | comments | ask | show | jobs | submit login

Wow, I got blasted on this comment. So, there was a reason why I didn't start spouting our exact LOT/LOC ratio: I have no idea what it is. No one at our office does. That's not the important part. My point is that, on average, one test per 100 LOC is almost definitely not covering much of the logic. I mean... if you have one happy-path test and one expected failing test per block of code, you have one testing context per 200 lines. Two hundred lines!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: