Skip to main content
thoughtbot thoughtbot
  • We're live Live on Twitch!

    thoughtbot is livestreaming

    Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

  • Case Studies
  • Blog
  • Let’s Talk
We're live Live on Twitch!

thoughtbot is livestreaming

Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

Let’s get started!
View all Services
Development
  • Ruby on Rails
  • Hotwire
  • AI and Machine Learning
  • Maintenance
  • Mobile
Design
  • Shaping Sprints
  • UX, UI, and Product Design
  • Design Systems
Product
  • MVP
  • Product Management
  • Accessibility
Team and Processes
  • Team Augmentation
  • Fractional Leadership
View all Services
  • Healthcare
  • Finance
  • Insurance
View all Resources
Development
  • Tech Leadership Resources
  • Open Source
  • Books
  • The Bike Shed Podcast
  • Live Streaming on YouTube
  • Conference Talks
The business of great software
  • Playbook
  • Giant Robots Smashing Into Other Giant Robots Podcast
  • Design Sprint Guide
  • Live Streaming on LinkedIn
View all Resources

Testing Articles

Written by thoughtbot, your expert partner for design and development.

    • All Topics
    • Design
    • Development
    • Product
    • More topics
  1. Announcing Shoulda Matchers 8.0: validate multiple attributes in one line

    The latest Shoulda Matchers cuts repetitive validation specs down to a single line, runs on Ruby 4, and keeps up with the newest Rails.

    Matheus Sales
    June 23, 2026
    • News
    • Ruby
    • Ruby On Rails
    • Testing
    • Open Source
    • Shoulda
  2. AI's "overnight" solution for our flaky tests took two weeks to adopt

    We lived with flaky tests for years until Claude found a solution overnight. It only took two weeks to make the solution useful.

    Fritz Meissner
    June 22, 2026
    • Process
    • AI
    • Artificial Intelligence
    • Technical Debt
    • Testing
  3. The Playwright debugging tool Rails devs aren't using

    Playwright records every test in cinematic detail. Most Rails devs aren’t watching.

    Justin Toniazzo
    June 19, 2026
    • Rails
    • Testing
    • Capybara
    • RSpec
    • Debugging
    • CI
  4. Why Duck Typer?

    Some say interface tests are fragile and shouldn’t be written. I disagree. Here’s why I think they’re worth writing.

    Thiago Araújo Silva
    May 26, 2026
    • Ruby
    • Testing
    • Open Source
    • Design
  5. Meet Duck Typer: your new duck typing friend

    Keep the beauty of duck typing with no annotations while still catching missing methods, mismatched signatures, and accidental drift across classes.

    Thiago Araújo Silva
    March 23, 2026
    • RSpec
    • Minitest
    • Testing
    • Ruby
    • OOP
    • Development
  6. Introducing Test Budget: a linter for test performance

    Your test suite didn’t get slow all at once. It won’t get fast all at once either. Start by making sure it stops getting worse.

    Matheus Richard
    March 17, 2026
    • Testing
    • Performance
    • Productivity
  7. Combine Capybara selectors to avoid the sequential timeout trap

    How I shaved over a minute off a test suite with a one-line change.

    Matheus Richard
    March 6, 2026
    • Capybara
    • Performance
    • Testing
  8. What Shoulda Matchers Is Actually Doing For You

    Rails model specs full of setup and error-message checks? There’s a reason so many teams replace them using shoulda-matchers. We’ll look at what those expectations are doing, how they make your tests more resilient to changes, and a lot less noisy.

    Matheus Sales
    January 23, 2026
    • RSpec
    • Rails
    • Shoulda
    • Ruby
    • Testing
  9. This week in #dev (Jan 9, 2026)

    Overriding Rails credentials, a helper to submit forms with images and how to count tests with rspec’s –dry-run option.

    thoughtbot
    January 19, 2026
    • This Week In Dev
    • TIL
    • Testing
    • Rails
  10. The Arrange/Act/Assert pattern

    Organizing tests for readability.

    Justin Toniazzo
    December 16, 2025
    • Testing
    • Development
    • Ruby
    • Rails
  11. Sign up to receive a weekly recap from thoughtbot

    Looking for even more ways to stay connected?
    RSS feed Check out our feeds
1 2 3 4 5 … Next › Last »

Footer

thoughtbot
  • Services
  • Case Studies
  • Resources
  • Let's Talk
  • Our Company
  • Careers
  • Purpose
  • Blog
  • Events
  • Sponsor
  • Store
  • Mastodon
  • Bluesky
  • GitHub
  • YouTube
  • Twitch
  • Feeds
© 2026 thoughtbot, inc.

The design of a robot and thoughtbot are registered trademarks of thoughtbot, inc.

  • US: +1 (877) 9-ROBOTS
  • UK: +44 (0)20 3807 0560
  • Code of Conduct
  • Accessibility Statement
  • Privacy Policy