unit testing

brad byte8bits at gmail.com
Thu Oct 4 15:02:32 EDT 2007


Does anyone else feel that unittesting is too much work? Not in general, 
just the official unittest module for small to medium sized projects?

It seems easier to write some quick methods that are used when needed 
rather than building a program with integrated unittesting. I see the 
value of it (the official unittest that is)... especially when there's a 
lot of source code. But this...

if len(x) != y:
    sys.exit('...')

is a hell of a lot easier and quicker that subclassing unittest.TestCase 
on small projects :)

Do others do their own "informal" unit testing?

Just curious,

Brad



More information about the Python-list mailing list