On Sat, 14 Oct 2006, Bruno Carnazzi wrote: > Hi misc, > > I'm currently learning C. In many languages, you hear lots of stuff > likes 'unit testing', 'refactoring', 'agile programming' and > others... It seems that these techniques are not very present in C
These techniques (minus the hype factor) are feasable in any language. > programming (whereas check framework is in packages, it seems too > complex) Looking quickly at the OpenBSD's CVS, I found no unit test. I > won't debate on the merit or cost of this approach, and I'm not really > fond of it (add not-so-usefull complexity) but I'm just curious to > know why OpenBSD developpers choose to not use this technique for > userland tools (for kernel, it's obvious :). You did not look hard enough. We have a lot of tests in src/regress. Both to test userland stuff as well as system calls. -Otto