TDD in python
Roy Smith
roy at panix.com
Tue Nov 30 08:33:11 EST 2010
In article
<58fe3680-21f5-42f8-9341-e069cbb88975 at r19g2000prm.googlegroups.com>,
rustom <rustompmody at gmail.com> wrote:
> Looking around I found this:
> http://bytes.com/topic/python/answers/43330-unittest-vs-py-test
> where Raymond Hettinger no less says quite unequivocally that he
> prefers test.py to builtin unittest
> because it is not so heavy-weight
>
> Is this the general consensus nowadays among pythonistas?
> [Note I tend to agree but Ive no experience so asking]
Both frameworks have their fans; I doubt you'll find any consensus.
Pick one, learn it, and use it. What's important is that you write
tests, write lots of tests, and write good tests. Which framework you
use is a detail.
More information about the Python-list
mailing list