Testing Without Mocks
Found at “James Shore: Testing Without Mocks: A Pattern Language” on 2023-01-09 19:52:21.
The patterns combine sociable, state-based tests with a novel infrastructure technique called “Nullables.” At first glance, Nullables look like test doubles, but they’re actually production code with an “off” switch. And that’s the tradeoff: do you want that in your production code? Your answer determines whether this pattern language is for you.
Very interesting approach to doing testing without using mocks. This is a very long read. However, it’s well structured and can be done in takes.