|
|
|
|
|
by chrisco255
3235 days ago
|
|
> because of a refactor, I forgot the return statement and it just continued overwriting the file again Unit tests are specifically useful for refactors. You can refactor your code and ensure that it behaves as intended. Integration tests are great, too, don't get me wrong. Either or both would have probably caught this. |
|