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 email@example.com. Please include your delivery address and contact information.
For more information about the book, including:
code, errata, discussions, full table of contents, excerpts from the book and more, see the catalog page for The RSpec Book.
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.
O'Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O'Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying "faint signals" from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.
Return to: O'Reilly Press Room
Recent Press Releases
Press Release Archive »
Media Relations - North America
Media Relations - Germany
Media Relations - Japan
Media Relations - United Kingdom
Media Relations - Conferences