[Tutor] Do you use unit testing?

Stephen Nelson-Smith sanelson at gmail.com
Mon Nov 16 23:03:32 CET 2009


Great question,

I learned TDD with PyUnit, but since moved to using Ruby, and have
been spoilt by rspec and even cucumber.  My instincts are to write
things test first, but so far I'm not finding PyUnit easy enough to
get going.

Once I get into the groove, I find it's a wonderful way to work - and
avoids some of the drivel I've come up with in the last few days.

As a discipline - work out what we want to test, write the test, watch
it fail, make it pass - I find this a very productive way to think and
work.

S.

On Mon, Nov 16, 2009 at 8:54 PM, Modulok <modulok at gmail.com> wrote:
> List,
>
> A general question:
>
> How many of you guys use unit testing as a development model, or at
> all for that matter?
>
>  I just starting messing around with it and it seems painfully slow to
> have to write a test for everything you do. Thoughts, experiences,
> pros, cons?
>
> Just looking for input and different angles on the matter, from the
> Python community.
> -Modulok-
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
Stephen Nelson-Smith
Technical Director
Atalanta Systems Ltd
www.atalanta-systems.com


More information about the Tutor mailing list