hi, First how to start the function testing in rails.. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
.... might be: http://www.google.ch/search?q=ruby+on+rails+function+testing and then the first link, or as presented here: http://manuals.rubyonrails.com/read/book/5 marcel On 28 Mai, 10:34, gousi <gousalya1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi, > > First how to start the function testing in rails..--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I suggest picking up a book that covers testing under rails. There are many good books. It is covered lightly in "Agile Web Development with Rails", but I am sure there is a testing oriented book for rails by now. The generators create a test for you under test/functional for each generated controller. Each method on those classes is executed as a test. The test can use things like "get :acton" and "put :action, :value1..." to simulate browser actions. There are assertions for testing the results, and the contents of the response html. Michael On May 28, 1:34 am, gousi <gousalya1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi, > > First how to start the function testing in rails..--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---