3 ms·
Why would you use mocks to test those things?
by yen223 8y ago
Why would you use mocks to test those things?
- humanrebar 8y agoBecause 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.