Testing with Symfony's PHPUnit bridge
nicolas.grekas
You do test your code, don't you? The defacto standard for running test suites in the PHP world is PHPUnit - and D8 is no exception. But did you know about simple-phpunit? Since version 3.2, Symfony provides a standalone and special build of the phpunit command line tool, that you can use to your advantage. It ships with many features that you're going to miss. Let's review the typical usages of PHPUnit, then dive into the unique features of simple-phpunit, like clock and DNS mocking, deprecation reports, etc.