42nd out of 86 books
—
152 voters
The RSpec Book: Behaviour Driven Development with Rspec, Cucumber, and Friends
by
David Chelimsky,
Dan North, Aslak Hellesoy, Dave Astels, Bryan Helmkamp, Zach Dennis, Jacquelyn Carter
Behaviour-Driven Development (BDD) gives you the best of Test Driven Development, Domain Driven Design, and Acceptance Test Driven Planning techniques, so you can create better software with self-documenting, executable tests that bring users and developers together with a common language.
Get the most out of BDD in Ruby with The RSpec Book, written by the lead developer o...more
Get the most out of BDD in Ruby with The RSpec Book, written by the lead developer o...more
Paperback, 426 pages
Published
December 22nd 2010
by Pragmatic Bookshelf
(first published May 15th 2009)
Friend Reviews
To see what your friends thought of this book,
please sign up.
Community Reviews
(showing
1-30
of
597)
If you want to test your code with Rspec this is THE book you must read. It is a very nice introduction and reference which also covers Cucumber and Rails. However if you are interested in these two cases, you will have to read other books.
You should know something about TDD if you really want to get most of the value out of this book. The mocking part is a nice reference, but will not teach you how/when to use mocks. Even if you are new to TDD/BDD you will experience the benefits.
Just be aware...more
You should know something about TDD if you really want to get most of the value out of this book. The mocking part is a nice reference, but will not teach you how/when to use mocks. Even if you are new to TDD/BDD you will experience the benefits.
Just be aware...more
I read some parts and skimmed other parts. The discussion around BDD is really interesting and looks to be really useful as part of a continuous delivery pipeline. I skimmed over the Ruby-specific portions -- probably the last half of the book -- only because I'm currently working on a project with Flash front end and a Java back end. I suspect we'll end up using cuke4duke in concert with Cucumber to get our UAT automated. The ability to use the tests as documentation for system functionality lo...more
Overall I liked this book. However if you have worked with rspec before you're going to end up skimming a lot of this book as the basics are thoroughly covered. Also if you don't have a strong background in TDD then I think some of the book's message is lost on you. All-in-all then there's a niche here that limits the appeal of this book. On top of that the material will age quickly (the cucumber stuff already has) and I suspect in a year or two's time the book's content will have some significa...more
A fabulous book about RSpec, a testing framework for the Ruby programming language. Actually, this book is about much more than just RSpec--it's also about a bunch of other tools: Cucumber, Webrat, and Selenium. I rolled my eyes when I first saw this, but as I read it I saw that each of these are pieces to a much greater puzzle: Behavior-Driven Development (BDD) in Ruby.
I rolled my eyes at that too, because it just seemed like a fancy name for Test-Driven Development, and it kind of is. The only...more
I rolled my eyes at that too, because it just seemed like a fancy name for Test-Driven Development, and it kind of is. The only...more
The book is more or less a duplex book. The first part of the book gives a decent introduction to Behavior Driven Development and how Cucumber and RSpec ideally are used in context of BDD as a methodology. The value of this book lies in those chapters.
It's important to understand the context in which tools were born and the ideas behind them. If you leave those bits and pieces out, you'll easily end up with a narrowed view of them, that doesn't seem to add much value. Like DHHs view of Cucumber...more
It's important to understand the context in which tools were born and the ideas behind them. If you leave those bits and pieces out, you'll easily end up with a narrowed view of them, that doesn't seem to add much value. Like DHHs view of Cucumber...more
The title of this book is unfortunate. This isn't really a book about RSpec (or Cucumber or Ruby) any more than 1984 is about Oceania (or Winston Smith). Rather, "The RSpec Book" is a treatise on a software development philosophy, and its vehicle happens to be RSpec.
I'm a lifelong student of software development, and this book fundamentally changed the way I think about - and practice - my craft.
I'm a lifelong student of software development, and this book fundamentally changed the way I think about - and practice - my craft.
Got a signed copy from my good friend Dave Astels. I got exposed to RSpec back on 2008-11-07 and I have been waiting for this book ever since. I wish there was an RSpec for Java or Groovy. I heard that JBehave is supposed to be similar, but the syntax is not the same. RSpec reads just like English, with spaces and all!
Ta książka nie jest o RSpecu, ani o Cucumberze. Ta książka nie jest o Ruby'm. Ta książka nie jest nawet o BDD. To wszystko tylko narzędzia.
Na przykładzie Cucmbera, Rspeca i Ruby'ego oczywiście autorzy przedstawiają zawiłości testowania wg filozofii BDD. Jedne rozdziały...more
No, the meme is more than any one of those things. The meme is a
synergistic witches brew of some of the most contagious and effective
ideas of the past two decades. The meme is. . .
Dare I say it?
The meme is. . .
. . . Craftsmanship.
Na przykładzie Cucmbera, Rspeca i Ruby'ego oczywiście autorzy przedstawiają zawiłości testowania wg filozofii BDD. Jedne rozdziały...more
Preferring the expressiveness of BDD and RSpec to xUnit, I use it on projects whenever I got a chance. I grabbed this book to add Cucumber to my toolset so that I could exercise the full stack of a Rails application. What I got in the end was an enhanced understanding of how Cucumber, RSpec, and Rails play well together but more importantly was a focus on craftsmanship and how to write code patiently and precisely: coding just enough to solve the problem and refactoring fearlessly.
Jan 09, 2012
Naoto Koshikawa
marked it as interest
これ読みたい
Jun 24, 2009
Camael
is currently reading it
test
I've been using Cucumber and RSpec for a while now without having read this book. Needless to say I understand the culture around RSpec a lot better now, and how some of the magic works (like have_key?).
The book is an easy read, with a good chapter in the middle about why software projects fail.
If you are using RSpec on a project then I'd recommend this highly.
The book is an easy read, with a good chapter in the middle about why software projects fail.
If you are using RSpec on a project then I'd recommend this highly.
I liked the book and everyone is probably better off for reading it but I found it a little chaotic in focus. One minute we're deep in Ruby implementation details, the next we're having philosophical discussions about the history of agile software development.
I do like all the little books inside the book, so maybe I shouldn't be complaining.
I do like all the little books inside the book, so maybe I shouldn't be complaining.
Oct 29, 2010
Michael
marked it as to-read
I've had a long fascination with traceability between requirements and code, and RSpec (and it's .NET cousin SpecFlow) provide one way of doing that.
I've tried RSpec and SpecFlow on small things, and a large upcoming project is a good candidate for using it in a big way.... so going to read up a bit before trying that.
I've tried RSpec and SpecFlow on small things, and a large upcoming project is a good candidate for using it in a big way.... so going to read up a bit before trying that.
There are no discussion topics on this book yet.
Be the first to start one »

Loading...































Sir, I need immediate help and would be thankful to you for your respnse and guidance.
If you have any knowledge about BDD kindly revert bac...more
Mar 16, 2012 05:13am