~/talk

Test-Driven: from Zero to Hero

Talkat JPoint 2023 · 2023-04-12..04-19· [testing, developer-experience]
links:none on file
slides:none on file

Claims that most enterprise codebases arrive with zero test code and that introducing tests is practical using Java 17 with Maven + JUnit 5. Demonstrates unit patterns (return-first, AAA), uses McCabe to estimate needed cases, measures coverage with JaCoCo, and shows integration tests running an embedded Grizzly server and a Postgres instance via Testcontainers (Docker required). Shows builds work end-to-end but integration tests are noticeably slow; recommends start bottom-up and keep tests compact.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 3:38Why software projects fail
  3. 5:02Starting with test automation
  4. 6:26Test-driven development basics
  5. 7:10Recommended testing tools
  6. 8:12Configuring Maven for tests
  7. 9:17Writing testable code
  8. 12:27Unit test structure and AAA principle
  9. 16:43Test case complexity and coverage
  10. 19:12Measuring test coverage with Jacoco
  11. 22:26Benefits of test-driven development
  12. 23:07Limitations of tests
  13. 24:34Integration tests overview
  14. 25:40Configuring Maven for integration tests
  15. 27:48Testing microservices with embedded servers
  16. 31:44Live demo of integration testing
  17. 35:40Database setup in tests
  18. 37:28Test containers introduction
  19. 41:04Implementing test-driven development
  20. 43:56Summary and key takeaways
  21. 44:40Q&A session
~/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.