Practical TDD in Rails

Practical advice for adding reliable tests to your Rails apps with RSpec. Includes expanded, exclusive content and a complete sample Rails application.

Start testing now »

Automating code review with Pronto (and friends)

Pronto helps streamline the code review process by automating what can be automated, so you can focus on the code's intent and design. Here's one example of how to use it. (February 17, 2015)

Switching from Selenium to Poltergeist in RSpec feature specs

A quick one, for readers of my RSpec book: Moving to a headless driver for faster JavaScript testing with Capybara. (January 27, 2015)

Simple data transfer with YamlDB

Ever need to transfer data from one database to another? Here's a solution that worked for me. (December 23, 2014)

Everyday Rails Testing with RSpec now updated for RSpec 3

RSpec 3.1, Rails 4.1 (and beyond), testing services, and more: Here's what's new. (October 05, 2014)

Everyday Rails Testing with RSpec: Upcoming updates for 2014

It's getting time for the book's annual-ish update. Here's a look at what's planned for the next version. (April 03, 2014)

Everyday Git: Clean up and start over

Git makes it easy to experiment with ideas before committing them for posterity. Here's one way to get rid of those experiments when they go bad. (February 27, 2014)

Japanese translation of Everyday Rails Testing with RSpec

A Japanese version of my testing book is now for sale on Leanpub. (February 08, 2014)

Looking for the Rails 3.2 edition of Everyday Rails Testing with RSpec?

The previous edition of my book is now a free extra with all purchases of the current edition. (January 25, 2014)

A great example of outside-in testing from Ruby Tapas

How do you turn testing knowledge into a testing habit? Learn from an expert. (January 15, 2014)

I wrote a view spec

When is it beneficial to include a view spec in your Rails app's test suite? Here's one example. (November 15, 2013)