0/1 уроков (0%)
– из 1
Testing Hack with Hammock
YouTube·PHP UK Conference
Discover Hammock, a new open source mocking library for Hacklang, in this 26-minute conference talk from PHP UK 2020. Learn how Hammock provides disposable interfaces for mocking and spying on public, protected, private, and static methods, as well as global functions, without altering their behavior. Explore the library's use of `fb_intercept` for mocking and unmocking, and its ability to mock individual objects without affecting other instances of the same class. Gain insights into how Hammock can enhance your code testing capabilities and improve your development workflow.