~/talk

Testing Hack with Hammock

Talkat PHP UK Conference 2020 · 2020-02-19..02-21· [testing]
links:none on file
slides:none on file

Hammock is an open-source mocking library for Hack (Hacklang) that provides disposable interfaces to mock and spy on public, protected, private, and static methods as well as global functions. It uses fb_intercept to install and remove mocks and supports mocking a single object instance without affecting other instances of the same class.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.