Everyday Rails

Testing with RSpec book updates for July 2024

Finally, here's the first release of my RSpec testing book, updated for the latest Rails stack! (July 21, 2024)

Replacing system tests with unit tests

Is your testing strategy too top-heavy? Here are some techniques to spread coverage down the testing pyramid. (June 01, 2024)

Calling all cooks: Share a recipe, get a free book!

Want a great deal on my RSpec book, or a free copy of my next project? (May 20, 2024)

Testing with RSpec book May 2024 status report

How it started, how it's going, what I've learned, and a revised delivery timeline for book updates. (May 04, 2024)

Notes from migrating from Minitest to RSpec, with help from GitHub Copilot

Artificial intelligence hasn't replaced us yet, but how does it handle the boring parts of our jobs? (March 13, 2024)

Why I’ve started using justfiles in my Rails apps

Boost your developer experience with consistent command line interfaces. Here's how. (February 24, 2024)

New version of Testing with RSpec book for 2024!

A new edition is in the works, with coverage on the latest versions of Rails, Ruby, and RSpec, and more. (February 06, 2024)

Using devcontainers in GitHub Actions CI workflows

It's simpler than ever to wire CI pipelines, thanks to devcontainers. Here's how I run Rails test suites these days in GitHub workflows. (January 14, 2024)

Write resilient tests with matchers that take other matchers

Here's a short, neat trick to help save time when updating RSpec specs to reflect new test data. (December 07, 2023)

A few things I've learned to simplify working in dev containers

I'm still learning as I go, but here are some tidbits I've learned so far about using dev containers for most of my software projects these days. (September 05, 2023)

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.