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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi, this is a basic tutorial, but I recommend because it teaches how to develop in Rails using TDD: http://ruby.railstutorial.org/chapters/static-pages#sec:TDD. I hope this could help. Everaldo On Wed, Jun 22, 2011 at 6:40 AM, Sayuj Othayoth <sayujothayoth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Sounds as you need knowledge. Here is something that I found: http://www.quora.com/Where-and-how-do-I-start-learning-TDD-with-Rails-3 On Jun 22, 2:58 pm, Peter Bell <pe...-AS9tOuWgs4cAvxtiuMwx3w@public.gmane.org> wrote:> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.- Hide quoted text - > > - Show quoted text --- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.