Press Release: December 16, 2010
The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends--New from Pragmatic Bookshelf
Raleigh, NC—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 Behaviour-Driven Development in Ruby with The RSpec Book: Behaviour-Driven Development with RSpec, Cucumber, and Friends (Pragmatic Bookshelf, $38.95), 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.
The authors explain why this style of writing code is significantly better than traditional attempts: "The problem with testing an object's internal structure is that we're testing what an object is instead of what it does. What an object does is significantly more important. BDD puts the focus on behavior instead of structure, and it does so at every level of development. Whether we're talking about an object calculating the distance between two cities, another object delegating a search off to a third-party service, or a user-facing screen providing feedback when we provide invalid input, it's all behavior!"
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.
Available in epub, mobi, PDF direct from the publisher and in paperback from fine bookstores worldwide.
For a review copy or more information please email firstname.lastname@example.org. Please include your delivery address and contact information.
The RSpec Book
Publisher: Pragmatic Bookshelf
By David Chelimsky, Dave Astels, Bryan Helmkamp, Dan North, Zach Dennis, Aslak Hellesoy
Print ISBN: 9781934356371
Print Price: $38.95
About Pragmatic Bookshelf
Pragmatic Bookshelf is an imprint of the Pragmatic Programmers, LLC. Our titles are distributed to bookstores internationally by O'Reilly Media.
The Pragmatic Bookshelf features books written by developers for developers. The titles continue the well-known Pragmatic Programmer style, and continue to garner awards and rave reviews. As development gets more and more difficult, the Pragmatic Programmers will be there with more titles and products to help programmers stay on top of their game.
For almost 40 years, O’Reilly Media has provided technology and business training, knowledge, and insight to help companies succeed. Our unique network of experts and innovators share their knowledge and expertise through the company’s Safari training and learning platform and at O’Reilly conferences. As a SaaS learning platform, Safari delivers highly topical and comprehensive technology and business learning solutions to millions of users across enterprise, consumer, and university channels. For more information visit oreilly.com.
Return to: O'Reilly Press Room