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
Web Development
  • Ruby on Rails
  • Hotwire
  • AI and Machine Learning
  • React
  • Maintenance
Mobile Development
  • React Native
  • iOS
  • Android
Design
  • UX, UI, and Product Design
  • Design Research
  • Design Systems
Product
  • Product Management
  • Product Design Sprint
  • Research and Strategic Insights
  • Accessibility
Team and Processes
  • Team Augmentation
  • Fractional Leadership
  • Level up your junior team
View all Services
View all Resources
Development
  • Tech Leadership Resources
  • Open Source
  • Books
  • The Bike Shed Podcast
  • Live Streaming on YouTube
The business of great software
  • Playbook
  • Startup Incubator
  • 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 strategy, design, product management, and development partner.

    • All Topics
    • Design
    • Web
    • iOS
    • Android
    • More topics
  1. Faking External Services in Tests with Adapters

    When faking external services in tests, start with something simple. I like having a public interface to adapters and having an in-memory adapter for tests. Let me show you an example.

    German Velasco
    November 28, 2019
    • Testing
    • Ruby
    • Rails
    • Web
  2. GraphQL: The Case of the Missing Fields

    Because who doesn’t like a good ole mystery?

    EJ Mitchell
    October 14, 2019
    • Testing
    • Web
    • Architecture
    • Debugging
  3. Mocking React Components with Jest

    Mocking in Jest can be tricky. Mocking React Components in Jest with ES modules can be even tricker. Yet, it’s still possible.

    Edward Loveall
    September 24, 2019
    • React
    • Testing
    • JavaScript
    • TypeScript
    • Node.js
  4. 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
  5. 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
  6. 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
  7. Why Factories?

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

    Joël Quenneville
    January 12, 2018
    • Ruby
    • Web
    • Testing
  8. 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
  9. 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
  10. 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
  11. Sign up to receive a weekly recap from thoughtbot

« First ‹ Prev 1 2 3 4 5 6 7 8 … Next › Last »

Footer

thoughtbot
  • Services
  • Case Studies
  • Resources
  • Let's Talk
  • Our Company
  • Careers
  • Purpose
  • Blog
  • Sponsor
  • Mastodon
  • GitHub
  • Instagram
  • YouTube
  • Twitch
© 2024 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