On Wed, Jul 14, 2010 at 8:18 AM, lucky in ruby <[email protected]> wrote:

> Is Writing tests before Implentation code really significate beyond
> these TDD books ??

I'll throw in a couple of advantages not yet mentioned:

1) When you're "done" (as if!) the tests are excellent documentation
     of what the code is intended to do, for someone stepping in to work
     on it for the first time, or even yourself if it's been a while.

2) If you work on multiple projects and wind up putting one aside for a
    significant time, there's no better way to refresh your memory on
    where you were than to watch the tests run (particularly RSpec).

FWIW,
-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to