2006/5/8, Jim Freeze <jimfreeze / gmail.com>:
>
> Try unit testing for a while and you will see. After doing
>    1) write code
>    2) write test
>    3) run test and see it succeed
>
> you start to get paranoid that your tests aren't being run. :)
> Seeing them fail, then succeed has a euphoric effect.
>

That's why with "Test Driven Development", it goes like this:

1) write test
2) write code
3) run test and see it succeed

(Well really it is more like:

1) write test
2) if test_fails
3)  write code
4) else
5)  go back to 1
6) end

but the picture looks nicer: http://www.agiledata.org/essays/tdd.html )

Douglas