3 ms·
He spent a full day* writing unit tests to cover half of the important cases, then a month debugging why the code still doesn't work, but you think the initial
by CGamesPlay 4y ago
He spent a full day* writing unit tests to cover half of the important cases, then a month debugging why the code still doesn't work, but you think the initial day was the waste of time?
* He doesn't say how much time he actually spent, maybe he spent a whole week writing his (poor) unit tests. Still, that part was the waste of time?
- UncleEntity 4y agoKind of… considering they assumed that the test passing meant the bug wasn’t in the tested code. How much time was wasted because of the badly written test is anyones guess.