News for hackers. Stuff that matters.
Re:OOP Is Dead, Long Live OOP by yen223 on Thursday October 18, 2018 @11:12PM (#18254004)
Why would you use mocks to test those things?
Re:OOP Is Dead, Long Live OOP by humanrebar on Thursday October 18, 2018 @11:47PM (#18254112)
Because manually triggering an optimistic locking failure is a pain. Triggering one of those and a filesystem write failure at the same time is a whole pile of work compared to the mocking.