Blog

Practical Rails testing notes, patterns, and deep dives that do not fit in a single guide chapter.

How to Test User Registration with Minitest Rails

Test user sign-up in Rails with Minitest: model validations, integration coverage for valid and invalid registration, with a system smoke test for the happy path.

authentication registration minitest rails integration-tests system-tests
Read post

How to Test Rails Built-in Authentication with Minitest

Test Rails built-in authentication in Minitest: session fixtures, sign_in_as helpers, protected route integration tests, and system tests for sign-in and protected controllers.

authentication rails-8 minitest rails integration-tests system-tests
Read post

How to Test File Uploads with Minitest Rails

Test Active Storage uploads in Rails with Minitest: fixture files, model attach, integration multipart posts, and optional system tests. No real S3 in CI.

file-uploads active-storage minitest rails integration-tests system-tests
Read post

Announcing Chapter Zero, an open-source starter for technical guides

Chapter Zero is the Bridgetown layout behind Minitest Rails, now open source. Guides, landing pages, blog, OG images, and marketing components, ready to fork.

bridgetown open-source documentation chapter-zero
Read post

How to Test Auth0 Login in Rails with Minitest

Test Auth0 OAuth callbacks, sessions, and protected routes in Rails without hitting Auth0 in CI. OmniAuth test mode, integration tests, and Minitest helpers.

auth0 authentication minitest rails omniauth
Read post