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
  • Discovery 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. This Week in #dev (Apr 7, 2023)

    Eliminating dead code, obsolete methods, and mysterious test failures on newest Rails.

    thoughtbot
    April 14, 2023
    • This Week In Dev
    • TIL
    • Rails
    • JavaScript
    • Ruby
    • Testing
  2. A journey towards better Ruby on Rails testing practices

    Testing Ruby on Rails and avoiding RSpec and FactoryBot anti-patterns.

    Rémy Hannequin
    March 14, 2023
    • Testing
    • Ruby
    • Development
    • Factory
    • Ruby On Rails
    • RSpec
    • Factory Bot
  3. Stubbles - Stubbing and Doubles innit. 🧔

    Confession: I’ve always struggled to understand the difference between stubbing and doubles…

    Sami Birnbaum
    March 10, 2023
    • Testing
    • RSpec
    • Ruby
  4. How to stub Feature Flags with RSpec

    Are your feature flags states leaking between your test cases? Stub them all to make your test suite more reliable. Here’s how.

    Stefanni Brasil and Elias Rodrigues
    February 3, 2023
    • Testing
    • RSpec
    • Rails
    • Web
  5. Avoid Merging RSpec "Focused" Tests

    Use RSpec’s Focus filter without fear of accidentally turning CI into a single-test false positive.

    Stephanie Viccari
    February 2, 2023
    • RSpec
    • Testing
  6. Building Custom RSpec Matchers with Regular Objects

    RSpec custom matchers can be written using plain old objects.

    Joël Quenneville
    February 1, 2023
    • Testing
    • Ruby
    • Rails
  7. CI/CD: Automating Tests and Deployments the Fun Way

    Running tests and managing deployments can be a tediously manual process or overwhelming to automate with all the available platforms and tools to choose from. We at thoughtbot want to share how our process has made CI/CD simple and enjoyable.

    Victoria Guido and Christopher Kuttruff
    January 30, 2023
    • Kubernetes
    • Testing
    • Automation
    • Git
    • Deployment
    • CI
    • CI/CD
    • AWS
    • Docker
    • Process
  8. How to validate the presence of a boolean field in a Rails model

    A subtle bug happens when validating the presence of boolean fields in Rails. Here’s how to find it before it hits production.

    Stefanni Brasil
    December 21, 2022
    • Testing
    • Ruby
    • Rails
  9. This week in #dev (Dec 2, 2022)

    Running shell commands in Ruby, truly random numbers, fixing flaky tests, and how to get the most out of TypeScript.

    thoughtbot
    December 20, 2022
    • This Week In Dev
    • Testing
    • Ruby
    • TypeScript
    • TIL
    • Tip
  10. Your flaky tests might be time dependent

    Time dependent tests are difficult to diagnose, and the symptoms don’t present themselves until it’s too late. This article will help you determine if your test suite is time dependent.

    Steve Polito
    December 5, 2022
    • Testing
    • Rails
    • Web
  11. Sign up to receive a weekly recap from thoughtbot

    Looking for even more ways to stay connected?
    RSS feed Check out our feeds
« First ‹ Prev 1 2 3 4 5 6 7 … 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