Everyday Rails

Everyday Rails Testing with RSpec now updated for RSpec 3

By Aaron Sumner, October 05, 2014. File under: , .

After a long summer, I’m happy to announce that Everyday Rails Testing with RSpec has been updated for RSpec 3 and Rails 4.1 (and beyond). If you’ve already purchased the book, head over to Leanpub to download the latest edition for free. If you’re new to the book, I hope you’ll check it out.

The book has evolved a lot since I first wrote those blog posts here, more than three years ago. However, the core message and approach are the same: You need to learn to test your Rails applications, and a great way to learn is by testing code you’ve already written.

Here’s a brief rundown of what’s new:

  • Coverage of RSpec 3–RSpec 3.1 is used in this edition’s examples.
  • Support for Rails 4.1 (and newer)–specifically, built-in support for Spring.
  • A bunch of new content around “testing the rest”–testing your app’s API, use of external APIs, etc. I’m really happy with how this turned out, and hope you are, too.
  • New formatting, just in case I decide to do a print version. (That’s still a big if.) I’ve opted for dimensions more like you’d see from books by mainstream technical publishers.

Thanks as always for your support!

Discussion

Follow along on on Mastodon, Facebook, or Bluesky to keep up-to-date with my latest posts. Better yet, subscribe to my newsletter for updates from Everyday Rails, book picks, and other thoughts and ideas that didn't quite fit here.
Buy Me A Coffee

Test with confidence!

If you liked my series on practical advice for adding reliable tests to your Rails apps, check out the expanded ebook version. Lots of additional, exclusive content and a complete sample Rails application.

Newsletter

Ruby on Rails news and tips, and other ideas and surprises from Aaron at Everyday Rails. Delivered to your inbox on no particular set schedule.