Testing Hack with Hammock - Riya Dashoriya - PHP UK 2020
About this talk
This talk introduces Hammock, an open source mocking library for Hacklang designed to provide flexible interfaces for mocking and spying on public, protected, private, and static methods, as well as global functions, without changing their behavior. The speaker explains how Hammock utilizes `fb_intercept` for efficient mocking and unmocking, enabling developers to mock individual objects while leaving other instances of the same class unaffected. Attendees will learn how to leverage Hammock to improve their code testing practices.
More from this event
See all 20 talks →
Messy data != Messy code - Michelle Sanver - PHP UK 2020
44:51
Serverless PHP applications with Bref - Matthiew Napoli - PHP UK 2020
50:14
Testing Legacy Code: Safe Refactoring - Katy Ereira - PHP UK 2020
39:53
PHP OPCache, Realpath Cache and Preloading - Jachim Coudenys - PHP UK 2020
55:31