Tuesday, December 3, 2002

Unit Tests == Goodness

so i imported cppunit into our source tree at work and started writing unit tests for some of our code. it's something i've been thinking about for a while, and i finally broke down and just did it (like my recent reworking of our build system to support partial tree builds).

it's taken me a few days to get this stuff working well, but overall i think it'll be worth it in the long run, since checking out the entire tree to build was getting cumbersome, converting all our old crufty makefiles to use my newer system will only help us maintain them, and unit testing just makes everything easier in the long run.

of course i'll really have to start making progress on my other projects soon, but i think i've figured out one of our major problems, and once that's out of the way the rest will begin to fall in to place...

No comments:

Post a Comment