~/talk

The best mock in the world: examining mock generation tools in Go

TalkinRussianat HighLoad++ 2024 · 2024-12-02..12-03· [go, testing]
links:none on file
slides:none on file

A comparison of mock-generation tools for Go: Mockery, Gomock, and Minimock. The talk evaluates each tool on practical examples, discussing pros and cons, ease of use, and best practices for writing unit tests with mocks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:01Mock tools overview
  3. 4:36Mock speed comparison
  4. 5:59Type safety in mocks
  5. 10:03Validation and failures
  6. 13:35Call order requirements
  7. 17:34Cache interface mocking
  8. 21:54Async test challenges
  9. 26:29Optimizing table tests
  10. 33:17Tool recommendations
  11. 35:31Q&A
~/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.