The ELC Community Blog
A knowledge exchange on Ruby on Rails and Agile Development
RSpec Tutorial
by josh on October 11, 2007
Being a very popular Behaviour Driven Development framework, RSpec is not very well documented. Yes - you can find the answers to all your questions, but not in one place, and that's only for technical questions. Questions like "When should I use mocks?" and "What's the difference between a should_receive and a stub?" are much harder to find answers for.
Using that as a springboard, I've started posting tutorials on the RSpec framework with the intention of build a comprehensive guide to Behaviour Driven Development with RSpec. As of this posting, the existing tutorials need a bit of reorganizing, but there's plenty of helpful stuff on there for now.
More to come. Feedback is welcomed and essential.
Current Tutorials:
Timeline
- Leopard ImageMagick
- Transcoding with On2 and Ruby
- Safely exposing your app to a ruby Sandbox
- Sandboxing in ruby
- Its about the team
- RSpec Tutorial
- Amazon S3: Simple(?) Storage Service
- Ready for hockey season?
- A room hung with pictures is a room hung with thoughts
- Nesting 'document.write'
- Jonathan Siegel Keynote at RailsConf
Comments
i want to know that why we should we use Rspec.what are the benefits of using Rspec
These are all looking fantastic, please continue with this fine series :)