2 ms·
Others have said similar, but for better or worse the three cases where I usually write tests are - when it’s really easy - when it’s really important
by donatj 7y ago
Others have said similar, but for better or worse the three cases where I usually write tests are
- when it’s really easy
- when it’s really important
- before a refactor
The last one is arguably the most important and has saved me a lot of headaches over the years.