Testing Hack with Hammock - Riya Dashoriya - PHP UK 2020

25:36 · 19 Feb 2020 – 21 Feb 2020 · YouTube

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.

From event

PHP UK Conference 2020

19 Feb 2020 – 21 Feb 2020

All event videos
Back to Watch