~/talk

Boosting Test Coverage for Microservices

Talkat GopherCon UK 2023 · 2023-08-16..08-18· [testing, microservices]
links:none on file
slides:none on file

Shows how to get real coverage from running microservices by instrumenting binaries with the Go 1.20 cover flag, building images that write coverage files, and running tests via Docker Compose inside GitHub Actions so coverage can be uploaded to codecov.io. Implementation includes a custom GitHub Action, mapping a coverage folder out of the container, and fixing graceful shutdown so files are flushed. Result: one service gains almost 5 percentage points of reported coverage and hidden untested files are discovered.

AI-written summary · about

  1. 0:00Introduction
  2. 6:51Automated testing essentials
  3. 10:08Unit vs application tests
  4. 19:51Visualizing coverage data
  5. 24:11Coverage percentage limits
  6. 27:50CI pipeline monitoring
  7. 28:35Coverage with Go 1.20
  8. 33:11Refactoring CI pipeline
  9. 37:10Results and insights
  10. 40:46Key takeaways
~/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.