How Custom Assertion Matchers will keep mocks away
Custom assertions are a handy compromise alternative to mocks when we don’t have the time to refactor to a functional style.
Custom assertions are a handy compromise alternative to mocks when we don’t have the time to refactor to a functional style.
We are sometimes tempted to use mocks to shortcut test data initialization. Unfortunately, excessive mocking makes tests difficult to maintain. As Uncle Bob ...
In my previous post I explained how Immutable Value Objects help us to avoid mocks. In this post, I’ll illustrate this in practice with real code.
Excessive use of mocks makes tests very painful to maintain. If we stick painful mocks for too long, we’ll end up abandoning unit testing. Eventually, the sy...
💡 Mock hell : when excessive use of test mocks makes refactoring extremely slow or difficult.
In my previous posts, I explained how to use the 20 hours of Code Katas technique to learn new languages. If you did not read these yet, start by the beginni...
In my previous post, I described how I’ve been using 20 hours of Code Katas to learn new languages. If you did not read it yet, have a look at it first. Let’...
We should not panic when asked to work with a new language. We should be bold enough to answer to job openings requiring technologies we are not used to. In ...