[Tutor] I don't get it

Francois Granger fgranger@altern.org
Sat, 21 Sep 2002 00:11:43 +0200


At 12:36 -0400 20/09/02, in message Re: [Tutor] I don't get it, Erik 
Price wrote:
>
>I have heard of unit-testing.  But I'm not sure exactly what it is. 
>My best guess is that it's when you provide sample data in the "if 
>__name__ == '__main__' " block so that you can execute this class 
>individually to make sure it works.
>
>But I don't know the methodology of unit testing.

Have a look there:

http://diveintopython.org/

There is a good chapter and a good exemple on this matter.