Start reading The RSpec Book: Behaviour Driven Development with RSpec,... on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends (The Facets of Ruby Series)
 
 

The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends (The Facets of Ruby Series) [Kindle Edition]

David Chelimsky , Dave Astels , Bryan Helmkamp , Dan North , Zach Dennis , Aslak Hellesoy
4.8 out of 5 stars  See all reviews (5 customer reviews)

Print List Price: £24.99
Kindle Price: £19.37 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £5.62 (22%)
* Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £19.37  
Paperback £20.39  
Kindle Daily Deal
Kindle Daily Deal: At least 60% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.


Product Description

Review

""Some authors would be satisfied with just writing the definitive guide for a technology. These folks go a step further, and show you insider tips that will keep your tests clean and maintainable.""--Ian Dees, Software Engineer ""The second generation of tools for the XP generation explained by their creators and maintainers. Awesome, a must read.""--Marcus Ahvne, software developer, Valtech""The RSpec Book teaches you much more than how to use RSpec's features; it teaches you how to write code the way the RSpec team does: patiently, and with great precision and clarity. There is something here for everyone: beginners are given plenty of gentle attention but there is some real meat for the more experienced reader to chew on, too.""--Matt Wynn, independent programmer and coach

Product Description

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 of RSpec, David Chelimsky.


You'll get started right away with RSpec 2 and Cucumber by developing a simple game, using Cucumber to express high-level requirements in language your customer understands, and RSpec to express more granular requirements that focus on the behavior of individual objects in the system. You'll learn how to use test doubles (mocks and stubs) to control the environment and focus the RSpec examples on one object at a time, and how to customize RSpec to "speak" in the language of your domain.


You'll develop Rails 3 applications and use companion tools such as Webrat and Selenium to express requirements for web applications both in memory and in the browser. And you'll learn to specify Rails views, controllers, and models, each in complete isolation from the other.


Whether you're developing applications, frameworks, or the libraries that power them, The RSpec Book will help you write better code, better tests, and deliver better software to happier users.


Product details

  • Format: Kindle Edition
  • File Size: 925 KB
  • Print Length: 448 pages
  • Publisher: Pragmatic Bookshelf; 1 edition (6 Nov 2012)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B00A32NY44
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Bestsellers Rank: #196,370 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Authors

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

3 star
0
2 star
0
1 star
0
4.8 out of 5 stars
4.8 out of 5 stars
Most Helpful Customer Reviews
2 of 2 people found the following review helpful
5.0 out of 5 stars Excellent book, but not just a manual for RSpec 19 July 2011
Format:Paperback
An excellent, clear and well-written book which was exactly what I needed.

However it is a little unusual. It's called "The RSpec book" but it's more than just a manual or HOWTO for RSpec. It attempts to teach you RSpec in the context of the BDD methodology and the other tools you'll likely use (or the Authors think you should use...) at the same time. So the first example in the book has you writing Cucumber for a chapter before you even get to see any RSpec code. And it has several chapters which are pure theory; a description and justification of the BDD approach to development.

I wrote my first Cucumber features and my first RSpec tests while referring to this book and I still re-read sections as needed. For me as a newbie to BDD in Ruby this "RSpec in a wider context" approach was exactly what I wanted. And the pure RSpec chapters are both complete, and high-quality technical writing. But if you're just looking for a book on RSpec this one might not be quite what you were expecting.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars One of the best books on BDD and code testing 24 Mar 2012
Format:Paperback|Verified Purchase
I recently read "The RSpec book" and I must say that it's one of the best technical books I've read in a long time.

It starts out with light introduction to BDD and then it keeps the reader engaged by presenting clear examples on how to use RSpec and Cucumber.

Throughout the examples they explain the philosophy of BDD and great concepts like "Red/Green/Refactor" that in my opinion should be engraved in every programmer's brain.

The chapters on Rspec Expectations and Mocks are so good that I've read them twice and the examples they provide really show why we should use mocks and stubs to isolate certain components of our code.

I really recommend this book to every programmer and even if you're not programming in Ruby you'll get a really nice overview of every aspect of BDD and the concepts behind code testing.

Clear, precise...recommended!

PS: This review was also posted in my blog (blog.pedrocarrico.net)
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Fall in Love with BDD and Programming 9 Dec 2010
Format:Paperback
Thank you for this wonderful introduction to Behavior-Driven Development (BDD) with the awesome Cucumber and RSpec tools.

I have been using this book since early on in it's beta state, and it's still the first place I turn to when I have a question about one thing or another. In other words, this book spans the gap between first-time users and seasoned BDD-ers.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Love it 26 Aug 2013
Format:Paperback|Verified Purchase
An awesome intro to BDD and the agile process. I'm currently only halfway through the book, but I can already feel myself levelling up just from reading this book following the exercises. Cucumber plays as large a part as Rspec so far, so buy this book before the Cucumber ones to gain a decent grounding before hitting the more in-depth stuff.
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Very helpful 18 Mar 2013
By meh
Format:Paperback|Verified Purchase
A really good introduction to test driven development and behaviour driven development. Definitely not just for Rubyists, this is a great book for anyone wanting to test their software.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category