~/talk

Learning Spring Boot with TDD

TalkinRussianat JPoint 2023 · 2023-04-12..04-19· [testing, spring]
slides:none on file

Practical exploration of using TDD with Spring Boot: how to go from business requirements to different test types and when to apply them. Covers TestRestTemplate, Mockito for business-logic testing, slice tests like @WebMvcTest and @DataJpaTest, avoiding oversized test contexts, approaches for testing Kafka, layering and architecture of tests (Conway’s law for tests), and advanced Spring Test features such as TestContextBootstrapper and TypeExcludeFilters.

AI-written summary · about

  1. 0:00Introduction
  2. 3:56What is TDD
  3. 5:22Building visa center
  4. 13:30Service business logic testing
  5. 22:44Mocking problems and fixes
  6. 31:36Adding caching to service
  7. 40:24Role of tests in development
  8. 44:36Visa agent with database
  9. 50:12Queue and Kafka testing
  10. 53:18Spring Boot test execution
  11. 55:04Summary
~/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.