~/talk

Fake It to Make It! - TDD of gRPC Microservices

Talkat AppDeveloperCon NA 2024 · on Tuesday, 2024-11-12· at 14:40· Salt Palace | Level 1 | 151 G· [testing, microservices]
name:Ed Crewe
linkedin:edcrewe
slides:none on file

Argues that fast fake frameworks turn the testing hourglass back into a pyramid by replacing slow full k8s E2E runs with in-IDE functional tests. Uses Go, bufconn in-memory gRPC, embedded Postgres per-test fixtures, mockgen and standard go test coverage. Demo shows suites stand up and tear down in ~10 seconds while full KIND/k8s deploys take 30–40 minutes, supports local coverage reporting and optional flip to real cluster; the fake framework is implemented and materially speeds refactor cycles.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48Fake services for testing
  3. 3:14Unit vs end-to-end testing
  4. 6:07Cost of full deployments
  5. 8:39Lightweight fakes and test doubles
  6. 12:14Testing pyramid flaws
  7. 13:18Demo setup
  8. 14:47IDE testing workflow
  9. 18:25CLI testing on Kubernetes
  10. 21:35Coverage for in-memory tests
  11. 22:40Test data management
  12. 24:06Testing across stages
  13. 26:58Summary
  14. 27:19Q&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.