A Method to Madness

Benoît Maurice

Bob the builder classant des tuyaux de différentes couleurs dans 3 boîtes lebellisées S, A et S.
Dev

How to write meaningful tests : the SAS testing technique

Durée de lecture : environ 10 minutesWe just saw in the previous article what builders, coupled with a fluent API, could bring to the table in terms of tests’ readability. However, we quickly realised that the more complex the production code was, the higher the complexity of the technical code became. In this article, we will Read more

By Guillaume Téchené and Benoît Maurice, 1 year16/08/2024 ago
Image générée par IA représentant le personnage "Bob the Builder" devant un écran en train d'écrire des lignes de code.
Dev

How to write meaningful tests: using builders

Durée de lecture : environ 9 minutes(In order to not overload this already dense article, we assume you’re familiar with the notion of adapters in hexagonal architecture. We will also be using words like “mock” or “stub” interchangeably because the difference does not seem clear to anyone, as this interesting discussion on StackOverflow shows. Finally, on Read more

By Guillaume Téchené and Benoît Maurice, 2 years15/01/2024 ago
Dev

How to write meaningful tests : an introduction

Durée de lecture : environ 5 minutesWelcome to this series of articles about testing! It will be co-written with Benoît Maurice, colleague and friend for over 8 years now. As TDD practitioners, we cannot ignore the major daily activities that are writing and maintaining tests. Today, we do not think it is desirable nor tenable to Read more

By Guillaume Téchené and Benoît Maurice, 2 years03/01/2024 ago
Search
Categories
  • Dev (11)
About this site

A Method to Madness is my own private blog. Feel free to disagree but please do so in a good-mannered and constructive way 🙂 Use the comments when available or the contact form to do so.

Search
Hestia | Developed by ThemeIsle