Blog

Testing

27 posts tagged testing — the same founder-tested patterns, filtered.

Stop using Faker and random data in the test fixtures.

Stop using Faker and random data in the test fixtures.

Faker/FFaker can seem like the perfect solution to generate data for testing.
Speed Up Your Rails Test Suite By 6% In 1 Line

Speed Up Your Rails Test Suite By 6% In 1 Line

At one project we have a set of currently 3k+ tests, running more than 2 minutes.
Pay Attention to Method Names in Minitest::Unit

Pay Attention to Method Names in Minitest::Unit

Defining name, message, time or pass in a Minitest test case overrides Minitest::TestCase's own methods. What breaks, and what to call them instead.
Test Driven Thinking for Solving Common Ruby Pitfalls

Test Driven Thinking for Solving Common Ruby Pitfalls

Comrade! Our Great Leader requests a web-service for his Despotic Duties!
Onboarding Tests into Legacy Project

Onboarding Tests into Legacy Project

What solution should you apply to get the first results in a short time in the legacy project?
Mock Everything Is a Good Way to Sink

Mock Everything Is a Good Way to Sink

Have you found a lot of code with mocks and stubs? But how do you feel about it? When I see mocks/stubs, I am always looking for the way to remove them.
Improving Ruby on Rails Test Suite Performance by Disabling Animations

Improving Ruby on Rails Test Suite Performance by Disabling Animations

Optimize your Ruby on Rails testing strategy. Our consulting services show how to enhance test suite performance by disabling animations.
Tips for writing readable system tests in Rails

Tips for writing readable system tests in Rails

The Four-Phase Test pattern applied to Rails system tests, and how keeping those phases visible keeps a Capybara spec readable months later.
React Native Testing Options Overview

React Native Testing Options Overview

A lot of people use Jest with Enzyme to make unit testing more confident and more easygoing.
Migrate from Sidekiq to Sidekiq.cr in Rails application

Migrate from Sidekiq to Sidekiq.cr in Rails application

Running Sidekiq jobs in Crystal from a Rails app: isolate the job behind a service first, then point that service at the Crystal worker.

Reading this because something is going wrong?

A free code audit gives you a written assessment of your codebase in plain English.

Get a Free Code Audit

Rated 4.8/5 on Clutch · you keep the write-up either way