4 ms·
"Write tests for every behavior the system currently exhibits." That's often harder than just bashing your head against the problem. Retrofitting code bases wi
by jerf 11y ago
"Write tests for every behavior the system currently exhibits."
That's often harder than just bashing your head against the problem. Retrofitting code bases with any sort of unit testing is almost always a challenge on its own terms... one much easier when one has at least an idea of how it's working already. And that's after I apply the principle of charity and downgrade "every behavior" to "many behaviors of interest".
It'd be great if it works, but I suspect it would only work when it's unnecessary anyhow because any code base amenable to that treatment wasn't that hard of a problem in the first place.
- stray 11y agoI am of course, making the assumption that OP knows what the software does -- but not how it goes about doing it.