How well documented should tests be? It seems like they ought to be pretty self-explanatory, otherwise they are probably too complex and are prone to breakage themselves.
On another note, this is kind of nice to see...
zach@zriggle-desktop:~/Desktop/OLPC/sugarbot/trunk/sugarbot$ nosetests test*.py
......................................................................----------------------------------------------------------------------
Ran 70 tests in 0.581s
OK
1 comment:
As you say ;). I prefer narrative functional tests, myself; simple unit tests can be good, too. I try to avoid complicated tests, although complicated setup/teardown is more ok.
Post a Comment