When you're running unit tests, you don't want the world itself to be involved. Executing actual database queries, making actual HTTP requests, writing actual files, none of this is desirable: it will make your tests very slow as well as unpredictable.
from My Pocket http://php-and-symfony.matthiasnoback.nl/2015/07/refactoring-the-cat-api-client-part-2/
No comments:
Post a Comment