~/talk

How Unit Testing Saved My Career

Talkat JNation 2025 · 2025-05-27..05-28· [testing, developer-experience]
links:none on file
slides:none on file

Begins with how unit tests give fast feedback and force clearer APIs, claims JUnit and Mockito enable focused unit tests; shows a concrete word-frequency refactor where writing tests pulls cleaning, counting, and printing into small methods; demos mocking an external weather client so the service returns jacket advice without network calls; advocates TDD for quicker iteration, uses parameterized tests with CSV and EnumSource to cover edge cases, and warns that overly complex test setups destroy trust—challenge them, mock heavier, and prefer smaller units.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Speaker introduction
  3. 2:07Early programming struggles
  4. 3:12Unit testing discovery
  5. 4:17Testable code benefits
  6. 6:30Bad vs good code example
  7. 8:15Refactoring through tests
  8. 10:13Testable code is cleaner
  9. 11:17Confidence from tests
  10. 12:21Test-driven development
  11. 13:05TDD explained
  12. 15:34Complex test setups
  13. 16:17Mocking with Mockito
  14. 18:49Real-world project failure
  15. 20:33Tests and code quality cycle
  16. 22:19Breaking the vicious cycle
  17. 22:41Parameterized tests
  18. 24:51Enum source in tests
  19. 27:46Complex test setup issues
  20. 31:28Challenging test complexity
  21. 34:04Testing pyramid overview
  22. 36:16Conclusion and Q&A
  23. 37:22Q&A with audience
~/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.