joeblu.com - joe blubaugh

Example domain paragraphs

joe blubaugh About Professional About Professional Don’t use mocks 2023-06-20 #golang   #mocking   #programming   Writing good unit tests is made much easier by dependency injection . This lets you separate your code’s behavior from that of your dependencies.

Many people use mocks to add dependencies to unit tests. I think this is usually a mistake.

In the last blog , I wrote a few things that software is for:

Links to joeblu.com (1)