~/talk

Automated Tests: You Won't Find It in a Book!

TalkinPolishat JDD 2019 · 2019-10-14..10-15· [testing]
links:none on file
slides:none on file

Shows a practical testing strategy using module-level tests that exercise each module’s public API rather than isolated single-method unit tests, replacing mocks with real implementations inside the module and using an in-memory test repository for persistence. Describes full integration tests that run the app against a real database and HTTP to assert saved records and REST responses, plus tradeoffs like duplicated test logic and brittleness from name changes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Why test interest arose
  3. 3:40Simple unit test example
  4. 8:21Validation problems in tests
  5. 10:09Consequences of bad test practices
  6. 15:14Real implementations instead of mocks
  7. 18:46Modules and business APIs
  8. 24:04External module dependencies
  9. 25:29Testing with repositories
  10. 29:27Integration tests and their importance
  11. 33:47When to use unit vs integration tests
  12. 35:15Test naming conventions
  13. 36:18Building test objects
  14. 37:45Copying test cases
  15. 38:28Unit test pitfalls
  16. 39:12Tests and development speed
  17. 40:35Teams with vs without tests
  18. 41:18Summary
~/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.