3 ms·
FTA: "YOUR PROGRAM IS NOT GOING TO BE USED BY OTHER PROGRAMS, it's going to be used by people" A lot of programs are, in fact, used by other programs. Such pr
by humbledrone 16y ago
FTA: "YOUR PROGRAM IS NOT GOING TO BE USED BY OTHER PROGRAMS, it's going to be used by people"
A lot of programs are, in fact, used by other programs. Such programs are generally called libraries, and unit testing can be exceptionally useful for avoiding regressions in them. When testing a library, you can't really get around writing code, so why not check that code in so you don't have to write it again?