[TIP] the best time to start doing a test?

Blake Winton bwinton at latte.ca
Mon Sep 29 10:27:02 PDT 2008


Fred Drake wrote:
> On Mon, Sep 29, 2008 at 1:15 PM, Alfredo Deza <arufuredosan at gmail.com> wrote:
>> Do I have to wait until I
>> am satisfied with the script and then start writing tests? or should I start
>> writing tests as soon as I start developing?
> 
> Run (don't walk!) to an edit buffer and start writing your tests.
> 
> The sooner you have even a simple test, the sooner it can work for you.

I like to write the tests before I write the code, so that I know when 
I'm done coding.  :)

(I don't often get to, but I like to when I can.)

Later,
Blake.




More information about the testing-in-python mailing list