~/talk

Automated Tests: What Courses Won't Teach You

TalkinPolishat Confitura 2019 · on Saturday, 2019-06-29· [testing]
links:none on file
slides:none on file

Advocates for module-level unit tests that use real implementations instead of heavy mocking, demonstrated with a Spring-based rating API (age×2) and an in-memory test repository and controller. Shows a one-line switch to inject a real calculator to avoid brittle mock setups, and presents JUnit-style module/unit tests alongside full integration tests that boot the app and assert HTTP 200, JSON payload and a DB row; code examples are on GitHub. Emphasizes using a module API as a facade and Given‑When‑Then naming.

AI-written summary · about

  1. 0:00Automated tests intro
  2. 4:54Simple rating system
  3. 7:06Unit tests pitfalls
  4. 11:27Fixture problems fixes
  5. 15:40Business modules benefits
  6. 22:53API dependency testing
  7. 26:26External dependencies integration
  8. 31:28Integration tests role
  9. 36:47Contract process testing
  10. 41:44Testing vs dev speed
  11. 43:53Q&A: Complex cases
  12. 46:29Q&A: External API tests
  13. 47:10Q&A: Scaling suites
  14. 51:53Q&A: Legacy projects
  15. 52:13Q&A: Test narratives
~/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.