For general testing in Rails, I like the (short but good) chapter in Eloquent 
Ruby - gets you thinking about testing right and it isn't overwhelming. >From 
there, Rails test prescriptions is a great intro to testing and TDD for Rails 
developers, and finally you're going to want to pick up a copy of the rspec 
book. It's more of an undertaking, but provides much richer coverage of the 
frameworks (even if it uses webrat rather than capybara which is more common 
these days).

Also, get test infected. Go to a local usergroup and find someone to pair with 
for a couple of hours. Four or five such sessions and you'll start to get the 
feel for the process. Also, read stuff that Dan North and Liz Keogh write about 
TDD and levels of tests (not having implementation details in high level 
scenarios, for example) and feel free to check out the TDD Yahoo! list for a 
broader perspective (or the XP list).

Best Wishes,
Peter 

On Jun 22, 2011, at 5:40 AM, Sayuj Othayoth wrote:

> Hi,
> 
> How can I start with TDD in RoR. I'm new to this framework and I know
> basic idea about RoR.
> I hope this is the time to start with TDD. Please help me on this.
> 
> Pls let me know about good tutorial.
> 
> thank you
> sayuj
> 
> -- 
> 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.
> 

-- 
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