GopherCon 2024: How to Mock Fellow Gophers While Avoiding HR - Dylan Bourque @GopherAcademy
GopherCon 2024: How to Mock Fellow Gophers While Avoiding HR - Dylan Bourque  @GopherAcademy
Uploaded December 2024 | Updated December 2026, 3 days ago
We all write tests, at least we all should be writing tests. Some of us - many of us? maybe even most of us - like to use mocks/fakes/etc. to insulate our tests from slowness and/or flakiness due to "external" dependencies. This talk will cover how I, an experienced and quite opinionated Gopher, structure my projects to accommodate test mocks, either generated or hand-written, while allowing for flexibility in the "how" across projects or even between packages within the same project. By following just a few simple strategies, you too can "mock" Go code without angering your co-workers.
GopherCon 2024: How to Mock Fellow Gophers While Avoiding HR - Dylan BourqueGopherCon 2024: Lightning-Fast Database Tests - Robin Hallabro-KokkoComing Soon to GopherCon 2023... Capture the Flag, One Byte at a Time!GopherCon 2022: Parsing w/o Code Generators: Parser Combinators in Go with Generics - Jeremy BrownGopherCon 2021: Rethinking How We Test Our Async Architecture - Tom LyonsGopherCon 2021: Hugo + go:embed = Your Website as an Executable - Amit SahaGopherCon 2023: A Small Update About TinyGo - GopherCon 2023 Edition - Ron EvansGopherCon 2023: Winning the Latency Arms Race in the Coinbase Golang Trading Engine - Yucong SunGopherCon 2022: Durable Executions in the Face of (some) Failures - Andrew Fitz Gibbon
Gopher Academy |

GopherCon 2024: How to Mock Fellow Gophers While Avoiding HR - Dylan Bourque

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER