Hello champs, I have been using ROR from last 6 months so i do not have any too much ideas about writing test cases. Upto now i have been writing test cases manually .. i mean with assert_statements only.. But now i want to switch myself to testing tool.. ? Can any champs light me up with urls, books or names of tools.. Thanks in advance.. Cheers .. -- Posted via http://www.ruby-forum.com/. -- 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.
On Mar 22, 10:10 am, Hemant Bhargava <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hello champs, > > I have been using ROR from last 6 months so i do not have any too much > ideas about writing test cases. Upto now i have been writing test cases > manually .. i mean with assert_statements only.. > > But now i want to switch myself to testing tool.. ? > Can any champs light me up with urls, books or names of tools.. >Well there are a variety of additions or replacements to Test::Unit (such as rspec, shoulda, rr, cucumber,mocha etc.) but they''re not going to write your tests for you Fred -- 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.
:) No i will write test myself only. I just want to know that how to start writing test cases on a specific tool. Frederick Cheung wrote:> > Well there are a variety of additions or replacements to Test::Unit > (such as rspec, shoulda, rr, cucumber,mocha etc.) but they''re not > going to write your tests for you > > Fred-- Posted via http://www.ruby-forum.com/. -- 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.
Hemant Bhargava wrote:> :) No i will write test myself only. I just want to know that how to > start writing test cases on a specific tool. >I mean can anyone give me the documentation or any available resource .. ? -- Posted via http://www.ruby-forum.com/. -- 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.
Hemant Bhargava wrote:> Hemant Bhargava wrote: >> :) No i will write test myself only. I just want to know that how to >> start writing test cases on a specific tool. >> > > I mean can anyone give me the documentation or any available resource .. > ?As Fred mentioned: (such as rspec, shoulda, rr, cucumber,mocha etc.) Google one or more of those, find the one that fits your needs/desires/approach and go from there. -- Posted via http://www.ruby-forum.com/. -- 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.
On 22 March 2010 11:16, Hemant Bhargava <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hemant Bhargava wrote: >> :) No i will write test myself only. I just want to know that how to >> start writing test cases on a specific tool. >> > > I mean can anyone give me the documentation or any available resource ..The tutorial in development at http://www.railstutorial.org/ has a useful introduction to testing with rspec. Colin -- 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.