This release includes a new chapter, Performance Testing and Performance Improvement, which contains information on both Rails performance testing and a number of different strategies for speeding up your actual test suite.
A new chapter, RSpec, covers RSpec 2.0. Again, those of you familiar with the Lulu version of the book will find some changes including coverage of more of RSpec’s syntax, and a different approach to how best to use RSpec’s power and flexibility.
One new chapter, Chapter 11, Write Cleaner Tests with Shoulda and Contexts, along with a handful of errata fixes. This chapter is based on Shoulda 2.11.3. Those of you who were familiar with the Lulu version of the book will notice that not only has Shoulda’s syntax changed some, but the entire way Shoulda’s developers place it within the Rails ecosystem has changed. The chapter now places a bit more weight on the style of code that Shoulda enabled, along with covering all of Shoulda’s syntax features.
A new chapter, “Testing a Legacy Application,” has been added.
Two new chapters have been added:
The table of contents for Part Six of the book has been restructured a little. A couple of the smaller chapters have been consolidated together. In addition, several errata have been cleared.
The Cucumber chapter is new in this beta. Also several errata have been cleared.
The primary addition for this beta release is two new chapters: Chapter 13, Testing Workflow with Integration Tests, on page 174, and Chapter 14, Clean Up Integration Tests with Webrat, on page 183. The setup appendix, Appendix A, on page 204, has also been reinstated. The Appendix starts the process of converting the book to Rails 3, however the Rails 3 instructions there are not yet complete. Several errata typos noticed on the forum have been cleared.