[TIP] Column questions.

Fred Drake fdrake at gmail.com
Wed Jul 23 16:58:09 PDT 2008


On Wed, Jul 23, 2008 at 4:58 PM, Laura Creighton <lac at openend.se> wrote:
> Should I really write my tests first?  Why?

We (at ZC) have found that writing doctests first forces us to be able
to explain the APIs we're constructing; that often affects the
resulting API, sometimes in not-so-subtle ways.


 -Fred

-- 
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller



More information about the testing-in-python mailing list