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. Mocking and faking external dependencies in elixir tests

    Explore a combination of mocking, faking, and dependency injection to focus on the code being tested.

    Wil Hall
    September 23, 2019
    • Testing
    • Elixir
  2. TDDing in React with Apollo and TypeScript

    Pointers for doing TDD with React using Apollo and TypeScript.

    Alejandro Dustet
    June 25, 2019
    • Testing
    • TDD
    • TypeScript
    • JavaScript
    • GraphQL
    • Apollo
    • React
    • Web
  3. Deprecating static attributes in factory_bot 4.11

    Static attributes have been the source of much confusion over the years. Their deprecation will come with a rubocop-rspec Cop to automatically replace with dynamic attributes.

    Daniel Colson
    August 16, 2018
    • Factory Bot
    • Open Source
    • Testing
    • Ruby
  4. Why Factories?

    Understanding why we use factories helps us write faster, more readable tests.

    Joël Quenneville
    January 12, 2018
    • Ruby
    • Web
    • Testing
  5. factory_bot

    factory_girl is becoming factory_bot.

    Avielle Wolfe and Josh Clayton
    October 24, 2017
    • News
    • Web
    • Rails
    • Testing
    • RSpec
    • Ruby
    • Factory Girl
    • Factory Bot
  6. Debugging Why Your Specs Have Slowed Down

    Your test suite used to be lightning fast but now it’s starting to feel a bit sluggish. Before adding CI parallelization, let’s see if there’s any clutter to remove.

    Mike Wenger
    September 22, 2017
    • Testing
    • Ruby
    • Rails
    • Factory Girl
    • Web
    • Factory Bot
  7. Headless Capybara Feature Specs with Chrome

    We’re experimenting with running feature specs using Chrome’s new headless mode. How do we set it up, and how does it compare to Capybara-WebKit?

    Derek Prior
    June 16, 2017
    • Rails
    • Testing
    • Web
  8. Testing Third Party Interactions

    How to test integrations with a third-party API.

    Joël Quenneville
    March 15, 2017
    • Web
    • Ruby
    • Testing
  9. ExMachina 2.0 - Cast Away

    ExMachina 2.0 brings new features and functions for easier testing.

    Josh Steiner
    March 13, 2017
    • Elixir
    • Testing
    • Web
  10. Chain RSpec Matchers for Improved Test Readability

    Improve test readability by leveraging RSpec’s matcher composition to make multiple assertions with a single matcher.

    Josh Clayton
    March 9, 2017
    • Web
    • RSpec
    • Ruby
    • 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 1 2 3 4 5 6 7 8 9 … 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