~/talk

Cost-effective and easy to maintain GraphQL integration tests (zio-test and Caliban)

Talkat ScalaIO 2022 · 2022-10-27..10-28· [testing]

Shows that integration tests for a Caliban GraphQL API can live in the same repo, use zio-test and Caliban, and be generated and kept up to date by a compile-time Caliban sbt plugin that emits a client on compile so API changes break compilation. Tests run against a real Kafka instance using an embedded Kafka shared per-suite to avoid slow restarts. The plugin is ~400 lines, took about a week to write, works but has a remaining incremental-regeneration bug (issue 1052).

AI-written summary · about

  1. 0:00Start
  2. 2:05The Team
  3. 2:50The Product Console
  4. 4:56The Problem - Weird
  5. 6:42The Analysis - Please don't
  6. 8:00The Analysis - What we want
  7. 12:09The Contribution How does it work internally?
  8. 14:38The Composition - sbt configuration topology
  9. 20:00The Conclusion
~/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.