Rails test coverage: Measuring what matters with SimpleCov

Many developers strive for 100% test coverage in their Rails applications, but what does that mean? And does it matter? Here's how I use the wonderful SimpleCov to help guide my testing. (March 23, 2018)

Upgrading to RSpec 3.7.2 and system specs

Support for Rails 5.1 system testing is now available to RSpec fans like you and me. Here's how I moved my book's feature specs to system specs. (January 08, 2018)

A general guide to upgrading Ruby in your Rails applications

It's the middle of December, which means a new version of Ruby will be released in just a few days. Even if you don't plan on upgrading your Rails applications to the latest version on day one, it's never a bad time to begin planning your next upgrade. (December 18, 2017)

Replacing RSpec controller tests, part 3: Removing business logic from controllers

Do you need yet another reason to move code out of controllers and into service (or whatever you want to call them) objects? How about better, forward-thinking testability? (November 20, 2017)

2017 edition of Everyday Rails Testing with RSpec is content-complete!

The final chapter of my Rails testing book is now available for download. Here's what's new, and what's coming next. (October 19, 2017)

Testing with RSpec book updated for 2017

I've released the first seven chapters (plus one) of an all new edition of my popular introduction to RSpec for Rails. Here's what's new, and what to expect next. (June 20, 2017)

Generating application documentation in Rails 5

Support for generating an HTML version of application documentation in Rails 5 was removed. Here's how to add it back. (March 01, 2017)

Status report: Everyday Rails Testing with RSpec for RSpec 3.5 and Rails 5

A progress report on the latest version of my Rails testing book. (February 20, 2017)

Ask the reader: What versions of Rails do your apps currently use?

An experiment! This week, let's have an open floor discussion about Rails versions in production, and what keeps us from upgrading sooner. (January 23, 2017)

Code reviewing as a mindset

Code reviews are more than proper indentation and method length. They're about understanding your software, and developing a better team of developers. Here's my approach to the code review practice. (January 16, 2017)