Available now as a beta PDF download over at The Pragmatic Programmers site, is the new RSpec Book. The full title of this book is “The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends.” It has six authors, most of which are developers of RSpec and Cucumber. I have had the time to read through the first 100 pages of the book and definitely think this is a very useful resource for anyone interested in BDD over TDD.
Here is the official description from PragProg:
Is your team trying to do TDD and failing? Are you finding your test suites bloated and difficult to read, understand, or maintain? Business applications today are plagued with features that are never used, highly coupled code that is hard to change, and expensive test suites that aren’t run any more because they are brittle and unreadable.
RSpec, Ruby’s leading Behaviour Driven Development tool, helps you do TDD right by embracing the design and documentation aspects of TDD. It encourages readable, maintainable suites of code examples that not only test your code, they document it as well. The RSpec Book will teach you how to use RSpec, Cucumber, and other Ruby tools to develop truly agile software that gets you to market quickly and maintains its value as evolving market trends drive new requirements.
Definitely give it a look