public
Description: Behaviour Driven Development framework for Ruby
Home | Edit | New

Code for The RSpec Book Beta

The The RSpec Book demonstrates some features that are in development branches but not yet released. Here are instructions to install all the libs that you need to work through The RSpec Book:

Beta 10 / 2009-09-22

  • rspec-1.2.9.rc1
  • rspec-rails-1.2.9.rc1
  • cucumber-0.3.11
  • webrat-0.6.rc1
  • rails-2.3.4
  • Selenium-1.1.14
  • selenium-client-1.2.16

For the Automated Browser chapter, if you’ve upgraded to Snow Leopard, see http://agilesoftwaretesting.com/?p=105 and make sure you’ve got the right libsqlite3.dylib installed.

To install the rspec and webrat release candidate gems:

[sudo] gem install rspec --prerelease
[sudo] gem install rspec-rails --prerelease
[sudo] gem install webrat --prerelease

Beta 8 / 2009-07-17 and Beta 9 / 2009-08-30

  • rspec-1.2.8
  • rspec-rails-1.2.7.1
  • cucumber-0.3.11
  • webrat-0.4.4
  • rails-2.3.2

Beta 7 / 2009-06-24

  • rspec-1.2.7
  • rspec-rails-1.2.7.1
  • cucumber-0.3.11
  • webrat-0.4.4
  • rails-2.3.2

Beta 6 / 2009-06-17

This is based on:

  • rspec-1.2.6
  • rspec-rails-1.2.6
  • cucumber-0.3.11
  • webrat-0.4.4

Please note that while we have tried to keep the code examples and shell commands up to date with these versions, we have not updated all of the generated output, so some of the output you see in the beta book does not align perfectly with what you actually see when you run rspec or cucumber. The reason for this is that every time we regenerate the output we have to manually re-format for the book, and we’re talking about dozens of examples to go through. We will definitely do this before we go to print but it’s just too time consuming to repeat for every beta.

Beta-4.0 / 2009-04-13 and Beta-5.0 / 2009-05-18

For this beta you can use the latest releases of rspec, rspec-rails, cucumber and webrat:

[sudo] gem install rspec rspec-rails cucumber webrat

The versions are:

rspec-1.2.4
rspec-rails-1.2.4
webrat-0.4.4
cucumber-0.3

Beta-3.0 / 2009-03-25

For this release you can actually use published gems:

[sudo] gem install rspec rspec-rails cucumber webrat

Beta-2.0

rspec and rspec-rails

For rspec and rspec-rails, you can install the 1.2.0 gems, or build and install the gems locally. See Install and Edge.

cucumber

[sudo] gem install aslakhellesoy-cucumber --source http://gems.github.com

webrat

For webrat, you can use the 0.4.2 release

[sudo] gem install webrat
Last edited by dchelimsky, Tue Sep 22 18:37:49 -0700 2009
Home | Edit | New
Versions: