~/talk

TestContainers – integration testing without the hassle

Talkat GeeCON Prague 2017 · 2017-05-17..05-19· [testing, java]
slides:none on file

Library Demo: a Java library named TestContainers runs throwaway Docker containers from JUnit (uses JUnit rules) to provide real Redis/Postgres/Elasticsearch and a mock-server container for isolated integration tests. Examples show a Redis-backed cache test and an agent test that starts a Groovy app inside a container with the built agent jar mapped in, uses a random host port mapping so many tests run concurrently, pulls images from Docker Hub, and passes/fails as expected.

AI-written summary · about

  1. 0:00Introduction and voice recovery
  2. 1:26About me and TestContainers
  3. 6:45Why integration testing matters
  4. 7:06Challenges of integration tests
  5. 9:15Requirements for good tests
  6. 11:28Docker and TestContainers adoption
  7. 13:59How TestContainers works
  8. 15:44Hello world demo
  9. 23:49Testing microservices with TestContainers
  10. 28:10Testing Java agents
  11. 38:28Agent test demo
  12. 39:48Summary and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.