Talk in English - UK at PHP Track - FrOSCon 2017
View Slides: https://thephp.cc/dates/2017/08/froscon/extending-phpunit
Checkout the code: https://github.com/sebastianbergmann/phpunit-example-extension
Short URL: https://joind.in/talk/de537 (QR-Code (opens in new window))
PHPUnit is a powerful tool for writing and running tests for your PHP-based software. It is not uncommon, though, that extending PHPUnit's core functionality makes sense to adapt the tool to the specific needs of your software.
This session, presented by the creator of PHPUnit, teaches best practices for writing custom PHPUnit extensions and distributing them using Composer as well as PHP Archives (PHAR). You will learn how to implement custom assertions, logging capabilities, and solutions for fixture management, for instance.