Everyday Rails

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-driven development in the age of artificial intelligence

How ChatGPT, GitHub Copilot, and TDD made me a professional Go programmer in less than an hour. Kind of. (June 26, 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.