Tutorials for RSpec

(written by Lawrence Krubner, however indented passages are often quotes)

Mark Herschberg of ShermansTravel shared this email, which I re-post here.

Below are some good links for an intro to rspec. Some of it is in the context of some example code which may not make sense.

http://www.lukeredpath.co.uk/blog/developing-a-rails-model-using-bdd-and-rspec-part-1.html
good intro

http://blog.emson.co.uk/2008/06/understanding-rspec-stories-a-tutorial/
another good intro

http://blog.davidchelimsky.net/2007/05/14/an-introduction-to-rspec-part-i/
yet another good intro

http://rspec.info/documentation/
some examples

http://marklunds.com/s5/rspec.html
powerpoint overview

http://media.pragprog.com/titles/achbd/examples.pdf
more examples

http://ruby.railstutorial.org/chapters/sign-up#sec:rspec_integration_tests

good form example

http://www.jairrillo.com/blog/2008/08/18/introduction-to-rspec-part-2-testing-the-rails-model/
an ok intro

http://media.pragprog.com/titles/achbd/outside-in.pdf
how to use it

http://media.pragprog.com/titles/idgtr/RSpec.pdf
worth skimming over

Source