What do people think about perhaps adding in some unit
tests so we
can make sure we don't introduce regressions as we port things over
to NewObject? I'm thinking that perhaps we could base them off of a
well-known image (like the NIST xpsp2 images).
Anyways, just a thought. If I have some time in the next week I'll
see how hard it would be to implement some tests like these using
the unittest module.
I think unit tests are a great idea. At a minimum, system tests that
focus on particular commands. Over the last few reglookup releases
I've mostly been running the same commands on old versions and new
versions, then doing semi-scripted diffs between the output.
Scripting something like that would be a start (though it clearly has
limitations in the long run).
If you come up with anything, I'd be interested to hear about how you
implemented it.
cheers,
tim