PHP UK Conference 2016 - Matthew Turland - Mocking Dependencies in Unit Tests with Phake
About this talk
This talk introduces Phake, an alternative mocking library designed to enhance the unit testing experience. The speaker explores the common challenges of mocking dependencies in unit tests, particularly when using PHPUnit, which is widely recognized as a leading unit testing framework. By highlighting Phake's concise API and robust features, the session aims to demonstrate how this library can simplify the process of mocking and improve overall testing efficiency in applications that utilize object-oriented programming principles.
More from this event
See all 34 talks →
PHP UK Conference 2016 - Marco Pivetta - Doctrine ORM Good Practices and Tricks
58:33
PHP UK Conference 2016 - Lorna Mitchell - What To Expect From PHP7
57:39
PHP UK Conference 2016 - Rob Allen - Introducing Zend Framework 3
57:49
PHP UK Conference 2016 - Szymon Skórczyński - Docker & PHP development and deployment
49:04