Dave Farley calls it the Mockery. Jason Gorman has a video calling it Mock Abuse and Mock Hell. Both are true. I’m dealing with it at work and trying to gather various resources to help teach why th...
This is not a vibe coding tutorial. But most developers agree that AI writes better code when you give it clear instructions. Well written tests naturally include these clear details about what the co...
Introduction
I was building a project that involves making http requests to a public api returning a JSON response,
and I hit a snag testing this area of the project.
This has always been a c...
Key Takeaways
There are several patterns for achieving a design that is easy to test.
This article introduces two representative ones: the SOLID principles and extracting functional componen...
I'm only seeing dots when my Ruby RSpec test suite is running. But a lot is going on in my brain.Are the failing tests related in an easy-to-fix way or not?
These are either very easy to fix, because ...
Introduction
This post walks through testing a Go function that loads a .toml config file into a struct.
We'll start by defining the data structure and the LoadConfig function that reads and ...
A long time ago, I had worked on a project that had no tests whatsoever. In fact, I was working in a team dedicated to fixing bugs, which was called the Support LVL 3 team. It was awful, could you ima...
Implementation (Part 2)In Part 1 of this series, I shared how and why we embraced Test-Driven Development (TDD) at Bynry Inc. to improve the quality and reliability of our Smart360 utility management ...