Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

laziness? unprofessionalism? both? or something else?




You forgot difficult. How do you test a system call failure? How do you test a system call failure when the first N calls need to pass? Be careful how you answer, some answers technically fall into the "undefined behavior" category (if you are using C or C++).

... Is that not what mocking is for?

all of the above.



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

Search: