Article from Guillaume Barra
Making Unit tests easy: How to use mock data factories
January 26, 2023Guillaume Barra6 min read

Writing unit tests is (or should be) a large part of our job, so why not make it simpler? When we start writing unit tests for our projects, we’ll be creating a lot of mock data. So much that we sometimes forget that duplication is a code smell, as long as our tests are passing. However, there is a…
Continue reading →