~/talk

Microservices Testing with Java

Talkat JDD 2023 · 2023-10-24..10-25· [microservices, testing]
links:none on file
slides:none on file

Focuses on building a practical testing foundation: prioritize many fast unit tests and fewer integration/end-to-end checks, then concentrate on integration and component tests as the next layer. Demonstrates concrete tools and setups: JUnit 5, Mockito, AssertJ, RestAssured for controllers, MockServer/WireMock for remote services, Testcontainers to spin real databases in Docker and Spring’s ServiceConnection to inject ports/credentials, out‑of‑process checks against a Jib-built container, and ReportPortal for live results, logs, screenshots and Jira-linked investigation.

AI-written summary · about

  1. 0:00Introduction to microservices
  2. 1:17Testing pyramid for microservices
  3. 3:04Unit tests in microservices
  4. 6:43Integration tests overview
  5. 11:02Controller integration testing
  6. 13:51Database integration testing
  7. 17:42REST client integration testing
  8. 21:17Component testing approaches
  9. 24:10In-process component tests
  10. 26:43Out-of-process component tests
  11. 29:16End-to-end testing basics
  12. 33:10Test execution reporting
  13. 35:21Cross-execution test analysis
  14. 37:54Reporting with Report Portal
  15. 44:19Additional testing tips
~/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.