Recent Posts
3 techniques pour gérer l'aléatoire en Approval Testing
Comment mettre en place un filet de sécurité avec des tests pour un système produisant des résultats aléatoires ? Voici 3 techniques !
read articleQuickly check for duplication with your IDE refactoring tools
Using your IDE extract method refactoring tool is a cheap way to discover code duplication, or bugs
read articleProcess Behavior Charts - A Christmas Tale
A cool trick to test that your PHP app correctly generates the PDFs you expect
read articleTesting that generated PDFs are visually the same
A cool trick to test that your PHP app correctly generates the PDFs you expect
read articleCreating databases when starting the Postgres Docker container
We usually need to setup multiple databases to work locally, at least one for development and one for testing. Here is a cool trick to create them automatically when the Postgres docker container starts..
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.
read articleHow test frameworks work: Expecting that an exception is thrown and the Arrange-Act-Assert pattern.
Let’s expand our mental model of the way test frameworks work and see how the expecting that an exception is thrown is done. This will explain why we can’t follow Arrange-Act-Assert pattern for that purpose.
read articleHow test frameworks work: A basic mental model
Understanding how test frameworks work help writing better test. Here is the start of a simple mental model.
read articlePipDecks Iphone Widget
Randomly display a PipDeck card on a widget of your iPhone Home Screen.
read articleExpected, actual, and super fast assertion creation
How fast can you create variables to hold expected and actual values in your test? And how little can you type to write the assertion?
read article