Recent Posts
Quickly check for duplication with your IDE refactoring tools
This week, I was looking at some code that I suspected contained duplication, presenting a good refactoring opportunity. I wanted to know if I could eliminate the duplication in the multiple...
read articleProcess Behavior Charts - A Christmas Tale
Last year, around the same period, I was thinking about Process Behavior Charts (PBC), a tool that helps in figuring out when you should or should not react when looking at data. I don't remember what...
read articleTesting that generated PDFs are visually the same
We need to generate various PDF files for the project I’m currently working on. Some of them are around 50 pages long. With such large documents, missing that we made a change that messes with the...
read articleCreating databases when starting the Postgres Docker container
One of the first things we usually ask people to do when they set up a project is to create the needed databases. While we often directly use the default database for development to avoid that...
read articleChange the problem to write simpler tests.
Sometimes, writing tests for a piece of code is difficult but can be simplified by changing the problem we are trying to solve. A very good example of this I know is about testing something...
read articleHow test frameworks work: Expecting that an exception is thrown and the Arrange-Act-Assert pattern.
In the previous article, we built a basic mental model of how test frameworks work. Now, it’s time to expand on that model to understand why it’s not possible to follow the Arrange-Act-Assert test...
read articleHow test frameworks work: A basic mental model
Understanding how your test framework works is a good start to avoid making mistakes. In this post, I share my basic mental model of how most test frameworks work. This is not 100% accurate, but it is...
read articlePipDecks Iphone Widget
I started using Readwise a few months ago. The app allows you to highlight articles or books you read and aims to help memory retention by resurfacing content regularly. One way to do this is by...
read articleExpected, actual, and super fast assertion creation
If you follow this blog[1] you know that one thing I enjoy is improving my workflow inside my IDE. The feeling of productivity of being able to code something in seconds instead of minutes brings me...
read articleRemove all services arguments from Symfony config with a script
I'm helping a team migrate from Symfony 3.4 to a newer version of the framework. One of our objectives is to move away from using the container to get access to services and use dependency injection...
read article
