Skip to main content
thoughtbot thoughtbot
  • 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
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
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
  • Purpose Built
  • 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. Updated Test-Driven Rails Videos

    I’m happy to announce that we’ve updated the content for our popular...

    Josh Clayton
    November 18, 2014
    • News
    • Web
    • Upcase
    • Testing
    • Rails
  2. Speed Up JavaScript Capybara Specs by Blacklisting URLs

    Speed up your tests by telling Capybara WebKit not to hit external APIs.

    Simon Taranto
    November 14, 2014
    • Web
    • Testing
    • Performance
  3. Validating JSON Schemas with an RSpec Matcher

    Use RSpec and JSON Schema to create a test-driven process in which changes to the structure of your JSON API drive the implementation of new features.

    Laila Winner
    September 23, 2014
    • Web
    • JSON
    • Ruby
    • RSpec
    • Testing
  4. Write Reliable, Asynchronous Integration Tests With Capybara

    We’ve come to rely on integration tests as part of a balanced testing...

    Joe Ferris
    September 10, 2014
    • Web
    • Rails
    • JavaScript
    • Testing
  5. Acceptance Tests at a Single Level of Abstraction

    Each acceptance test tells a story: a logical progression through a task...

    Josh Clayton
    September 2, 2014
    • Web
    • Ruby
    • Rails
    • Testing
  6. Speed Up Tests by Selectively Avoiding Factory Bot

    Learn one simple way to speed up your tests with the factory_bot gem!

    Josh Clayton
    August 14, 2014
    • Web
    • Rails
    • Testing
    • RSpec
    • Factory Girl
    • Factory Bot
  7. Segment.io and Ruby

    Use Segment.io’s Ruby library to track usage patterns within a Rails application.

    Josh Clayton
    July 30, 2014
    • Web
    • Rails
    • Testing
    • Analytics
  8. Testing from the Outside-In

    A few months ago my colleague Josh Steiner wrote a comprehensive post on How...

    Joël Quenneville
    June 9, 2014
    • Web
    • Testing
  9. Refactoring with an Apprentice

    Walk through a refactoring of Ruby on Rails test code and observe lessons in Rails idioms, setting up only necessary test data, and extracting methods.

    Eric Allen
    May 19, 2014
    • Web
    • Good Code
    • Testing
    • Apprenticeship
  10. Document Explicit Dependencies Through Tests

    Split your spec_helper.rb file into a minimal spec_helper.rb file and a rails_helper.rb file to load only the necessary dependencies in a spec. This is now the default in Rails.

    Greg Lazarev
    May 6, 2014
    • Web
    • Rails
    • Testing
  11. Sign up to receive a weekly recap from thoughtbot

    Looking for even more ways to stay connected?
    RSS feed icon Check out our feeds
« First ‹ Prev … 5 6 7 8 9 10 11 12 13 … Next › Last »

Footer

thoughtbot
  • Services
  • Case Studies
  • Resources
  • Let's Talk
  • Our Company
  • Careers
  • Purpose
  • Blog
  • Sponsor
  • Mastodon
  • Bluesky
  • GitHub
  • YouTube
  • Twitch
  • Feeds
© 2025 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
  • Beware of fraudulent thoughtbot job listings Learn more
  • Code of Conduct
  • Accessibility Statement
  • Privacy Policy