Re:Against Testing
by grink71 on Tuesday July 07, 2020 @08:30AM
(#23758478)
One benefit of testing I haven't seen much discussed yet is that testing can make fixing bugs easier. Many times in my career, there was a bug reported in a function I am not familiar with, based on a very particular set of conditions. There is a lot of work required to simply recreate the conditions that will allow me to debug. If I have written a test, where I have created appropriate fixtures and isolated the logic, I can easily recreate the failure condition and find where my logic is broken.
[ Parent
| on HN ]
There are no comments on this comment yet.