Last week I wrote about when to use mocks. In this post, I’d like to outline a specific guideline which comes into play when you start working with mocks: verifying collaborations at the system edges. This article is based on my recent Pluralsight course about Pragmatic Unit Testing.
Verifying collaborations at the system edges →
After two article series where I preached against the use of mocks in tests (first one, second one), I thought I would do a post which outlines situations where they are justified. This article is based on my recent Pluralsight course about Pragmatic Unit Testing.
When to use mocks →
In this post, I’ll show a simple way to get to know if your domain model is properly isolated.
How to know if your Domain model is properly isolated? →