DeepRead
Cover of The RSpec Book

About the book

A practical guide to behaviour-driven development in Ruby, using the RSpec testing framework and the Cucumber tool for acceptance-level stories. Its examples are built around developing Rails 3 applications, and it covers writing, organising, and running specifications and features. Specifications should describe what an object does for its callers, not how it does it internally, so tests stay useful when the implementation changes. Writing the spec first makes it a design tool that exposes awkward dependencies early. Test doubles such as mocks and stubs isolate a unit from its collaborators, while integration-level scenarios check that the pieces work together. The authors argue that unit and integration tests answer different questions and both are needed.

Written by Claude from what it knows of this book.

What Hacker News says 62% recommend · 0% critical

02.5520102012201420152010 peak · 4
This bookAverage book in Ruby and Rails

In the commenters’ own words

What Open Library readers say 5.00 from 1 rating

  1. 51
  2. 40
  3. 30
  4. 20
  5. 10
  • 2 want to read
  • 0 reading
  • 2 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2010
ISBN
9781934356371
Editions known
2 at Open Library
Open Library
OL15671213W

Computer softwareComputer software, developmentDesignDevelopmentRuby (Computer language)Ruby (Computer program language)Ruby on rails (Electronic resource)

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Agile web development with rails
    Dave Thomas · 2006 · recommended by 67 people · 2 people recommended both
  • Crafting rails applications
    Jose Valim · 2011 · recommended by 8 people · similar by subject and what people say about it
  • Ruby on Rails tutorial
    Michael Hartl · 2012 · recommended by 205 people · 2 people recommended both
  • Metaprogramming Ruby
    Paolo Perrotta · 2010 · recommended by 33 people · similar by subject and what people say about it
  • Head first software development
    Dan Pilone · 2007 · recommended by 0 people · similar by subject and what people say about it
  • The Rails way
    Obie Fernandez · 2008 · recommended by 22 people · similar by subject and what people say about it
  • The well-grounded Rubyist
    David A. Black · 2009 · recommended by 31 people · similar by subject and what people say about it
  • Test-driven development
    Kent Beck · 2002 · recommended by 30 people · similar by subject and what people say about it
  • Beginning Ruby
    Peter Cooper · 2009 · recommended by 18 people · similar by subject and what people say about it
  • Ruby For Rails
    David A. Black · 2006 · recommended by 17 people · similar by subject and what people say about it
  • Test-Driven Development with Python
    Harry J.W. Percival · 2014 · recommended by 16 people · similar by subject and what people say about it
  • Learn to Program
    Chris Pine · 2009 · recommended by 33 people · similar by subject and what people say about it
  • Simply Rails 2
    Patrick Lenz · 2008 · recommended by 7 people · similar by subject and what people say about it
  • Enterprise Rails
    Dan Chak · 2008 · recommended by 7 people · similar by subject and what people say about it
  • Rails antipatterns
    Chad Pytel · 2009 · recommended by 6 people · similar by subject and what people say about it
  • Rails recipes
    Chad Fowler · 2006 · recommended by 4 people · similar by subject and what people say about it
  • The art of Rails
    Edward Benson · 2008 · recommended by 4 people · similar by subject and what people say about it
  • Beginning Rails 3
    Cloves Carneiro · 2010 · recommended by 3 people · similar by subject and what people say about it
  • Programming Ruby
    Dave Thomas · 2004 · recommended by 6 people · similar by subject and what people say about it
  • HEAD FIRST RAILS
    David Griffiths · recommended by 2 people · similar by subject and what people say about it
  • Beginning Rails
    Jeffrey Allan Hardy · 2007 · recommended by 2 people · similar by subject and what people say about it
  • The Ruby programming language
    David Flanagan · 2007 · recommended by 14 people · similar by subject and what people say about it
  • Design Patterns in Ruby
    Russ Olsen · 2007 · recommended by 15 people · similar by subject and what people say about it
  • Programming Ruby 1.9
    2010 · recommended by 11 people · similar by subject and what people say about it