Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by bdangubic

20 hours ago

laziness? unprofessionalism? both? or something else?

3 comments

bdangubic

Reply

spc476  19 hours ago

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++).

  • zahlman  15 hours ago

    ... Is that not what mocking is for?

rvz  20 hours ago

all of the above.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities