Here’s how Laravel’s defer() function, which was introduced a few months ago, works behind the scenes.
PHP
5 Ways to Extract Value from Overmocked Tests
Tomas shares his approach to get the most out of mocks, drop dead code, and make tests more valuable. Read more