~/talk

Write tests that spark flow

Talkat Jfokus 2021 · on Tuesday, 2021-02-09· [testing, microservices]
slides:none on file

Shows how to write maintainable system/acceptance tests for a Java microservice using Quarkus, JUnit, Docker and Kubernetes; runs a realistic setup of three containers (coffee shop, barista, database) and uses WireMock to stub the barista. Tests use delegation so high-level steps like create order espresso colombia and verify order status hide HTTP/JSON details. Quarkus dev mode gives sub‑5s restarts for fast feedback, tests run locally or against a Kubernetes deployment and the approach proves reusable and fast. WireMock Quarkus dev mode

AI-written summary · about

  1. 0:00Introduction
  2. 2:13Coffee example
  3. 3:02Build locally
  4. 3:57Match production
  5. 4:35Docker containers
  6. 5:02Orders
  7. 5:52Origin
  8. 6:51Validate
  9. 8:36How this works
  10. 9:27Why this is running
  11. 9:48Verify in Java
  12. 11:10Is this good idea
  13. 11:57The challenge
  14. 13:35Pseudocode
  15. 13:56Start from the beginning
  16. 16:29Create verify order
  17. 17:23System test implementation
  18. 18:47System test environment
  19. 19:28Mock server technology
  20. 21:16Running tests
  21. 23:20Running tests in development mode
  22. 24:30The perfect setup
  23. 27:10Reuse the system test
~/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.