Hi Everybody, Greetings!! I want to use rspec for my applications. Please guide me with the Rspec tutorial. I want a good example to start with. Please help me by providing good tutorials on Rspec to start with. I actually followed the example from http://rspec.info Please guide me on more examples. Waiting for your reply. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Rails ROR wrote:> Please guide me on more examples.http://pragprog.com/titles/achbd/the-rspec-book http://media.pragprog.com/titles/achbd/examples.pdf describe "Person learning rSpec" do fixtures :people before(:each) do @you = people(:you) end it "should buy the rSpec book" do books = @you.books books.should include(:the_rspec_book) end end -- Posted via http://www.ruby-forum.com/.
On Fri, Oct 23, 2009 at 6:22 AM, Rails ROR <developrails-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Please help me by providing good tutorials on Rspec to start with.Besides the already mentioned book, the PeepCode screencasts are very good introductory material. FWIW, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan
Hi Thank you for your response. Are there any free books that we can download for Rspec? If any, Please guide me on that. Thanks in advance On Fri, Oct 23, 2009 at 8:02 AM, Hassan Schroeder < hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Fri, Oct 23, 2009 at 6:22 AM, Rails ROR <developrails-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Please help me by providing good tutorials on Rspec to start with. > > Besides the already mentioned book, the PeepCode screencasts > are very good introductory material. > > FWIW, > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > 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 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 -~----------~----~----~----~------~----~------~--~---
Hi, I really doubt that any one is going to write a book and make it free to download. Next, did you try google.com in regards to finding the information on RSpec tutorials? In any case, I would recommend seeing what''s available on railscasts.com because I''m sure that Ryan Bates has done one or more screencasts on RSpec and BDD. Also, I''m sure that you can find many blog posts on the subject as well. Good luck, -Conrad On Fri, Oct 23, 2009 at 10:32 PM, Rails ROR <developrails-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > Thank you for your response. > > Are there any free books that we can download for Rspec? > > If any, Please guide me on that. > > Thanks in advance > > > On Fri, Oct 23, 2009 at 8:02 AM, Hassan Schroeder < > hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> >> On Fri, Oct 23, 2009 at 6:22 AM, Rails ROR <developrails-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> wrote: >> >> > Please help me by providing good tutorials on Rspec to start with. >> >> Besides the already mentioned book, the PeepCode screencasts >> are very good introductory material. >> >> FWIW, >> -- >> Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> 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 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 -~----------~----~----~----~------~----~------~--~---
Hi, I have tried in google for Rspec. I thought there might be few books also. Thankyou for your reply. On Fri, Oct 23, 2009 at 10:53 PM, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, I really doubt that any one is going to write a book and make it free > to download. Next, did you try google.com in regards to finding the > information on RSpec tutorials? In any case, I would recommend seeing > what''s available on railscasts.com because I''m sure that Ryan Bates has > done one or more screencasts on RSpec and BDD. Also, I''m sure that you can > find many blog posts on the subject as well. > > Good luck, > > -Conrad > > On Fri, Oct 23, 2009 at 10:32 PM, Rails ROR <developrails-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> Hi >> Thank you for your response. >> >> Are there any free books that we can download for Rspec? >> >> If any, Please guide me on that. >> >> Thanks in advance >> >> >> On Fri, Oct 23, 2009 at 8:02 AM, Hassan Schroeder < >> hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> >>> On Fri, Oct 23, 2009 at 6:22 AM, Rails ROR <developrails-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >>> wrote: >>> >>> > Please help me by providing good tutorials on Rspec to start with. >>> >>> Besides the already mentioned book, the PeepCode screencasts >>> are very good introductory material. >>> >>> FWIW, >>> -- >>> Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >>> 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 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 -~----------~----~----~----~------~----~------~--~---
Rails ROR wrote:> Hi, > I have tried in google for Rspec. I thought there might be few books > also.There are. But they''re not free.> > Thankyou for your reply.Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Rails ROR wrote:> Hi, > I have tried in google for Rspec. I thought there might be few books > also.Just an idea, but maybe it would be useful to find some open source projects that are using rSpec and take a look at their specs. That should give you a good idea of how people are using rSpec in the real world. -- Posted via http://www.ruby-forum.com/.
Robert Walker wrote:> Rails ROR wrote: >> Hi, >> I have tried in google for Rspec. I thought there might be few books >> also. > > Just an idea, but maybe it would be useful to find some open source > projects that are using rSpec and take a look at their specs. That > should give you a good idea of how people are using rSpec in the real > world.Good idea, Robert! To the OP: I use RSpec extensively in test-first development. You''re welcome to check out the specs and features in Quorum ( http://github.com/marnen/quorum2 ) for a real-world example. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
On Sun, Oct 25, 2009 at 3:28 PM, Robert Walker <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Rails ROR wrote: >> Hi, >> I have tried in google for Rspec. I thought there might be few books >> also. > > Just an idea, but maybe it would be useful to find some open source > projects that are using rSpec and take a look at their specs. That > should give you a good idea of how people are using rSpec in the real > world.And there are plenty of bloggers who have written about RSpec: David Chelimsky (the ''god-father'' of RSpec), Pat Maddox, ... There''s also a google group for RSpec. The best source IS the RSpec Book which is in beta from the Pragmatic Programmer, the PDF version isn''t that expensive. The problem is that RSpec like almost everything in the Ruby/Rails environment is evolving rapidly. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
On Mon, Oct 26, 2009 at 3:03 PM, Rick DeNatale <rick.denatale-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Sun, Oct 25, 2009 at 3:28 PM, Robert Walker > <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >> Rails ROR wrote: >>> Hi, >>> I have tried in google for Rspec. I thought there might be few books >>> also. >> >> Just an idea, but maybe it would be useful to find some open source >> projects that are using rSpec and take a look at their specs. That >> should give you a good idea of how people are using rSpec in the real >> world. > > And there are plenty of bloggers who have written about RSpec: David > Chelimsky (the ''god-father'' of RSpec), Pat Maddox, ... > > There''s also a google group for RSpec. > > The best source IS the RSpec Book which is in beta from the Pragmatic > Programmer, the PDF version isn''t that expensive. > > The problem is that RSpec like almost everything in the Ruby/Rails > environment is evolving rapidly. >This is not a bug. It''s a feature! :) -- Leonardo Mateo. There''s no place like ~