~/talk

TDD: seriously, try it!

Talkat Codemotion Madrid 2024 · 2024-05-21..05-22· [testing, career-development]
links:none on file
slides:none on file

Live Java demo builds a FilmRecommendationService with unit tests, mocks for a FilmRepository, then an integration test that boots Testcontainers/Postgres and executes SQL, showing the service works end to end. The workflow follows red green refactor and reaches nearly 100% coverage in under 20 minutes during the demo. Claims include IBM case study showing 40% fewer bugs with TDD, and cautions note a steep learning curve, initial time cost, and habit decay.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:09What is TDD and its benefits
  3. 7:13Disadvantages of TDD
  4. 9:20TDD process and analogy
  5. 10:22TDD three-step cycle
  6. 11:26Practicing TDD effectively
  7. 13:09Recommended resources for TDD
  8. 14:33TDD tips and naming conventions
  9. 18:04Live coding demo introduction
  10. 20:14Writing the first failing test
  11. 23:46Implementing hardcoded solution
  12. 29:31Introducing repository pattern
  13. 33:06Mocking dependencies
  14. 35:35Integration testing with database
  15. 39:05Using Testcontainers for integration tests
  16. 44:41Code coverage and final thoughts
  17. 45:24Q&A and summary
~/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.