~/talk

Your Tests Are Code, Too!

Talkat Devoxx Poland 2022 · 2022-06-22..06-24· [testing]
links:none on file
slides:none on file

Project uses Kotlin, Spring Boot, Postgres, Kafka and Keycloak and test code often outgrows production code (around 60% more in one project), so tests must be fast and focused. Swap slow Spring Boot tests for plain JUnit or webMvc/dataJpa slices when possible, replace fixed waits with polling every 100ms and a 7s grace, cache tokens with beforeAll instead of beforeEach, mock external systems with Mockito, use test object factories/mothers, and deliberately mutate production code to confirm tests actually fail.

AI-written summary · about

  1. 0:00Introduction and context
  2. 6:17Why test code matters
  3. 10:53Testing pyramid and theory
  4. 15:54Keeping tests fast
  5. 26:56Keeping tests maintainable
  6. 34:44Keeping tests readable
  7. 42:28Keeping tests valuable
  8. 49:13Keeping tests safe
  9. 51:44Summary and conclusion
~/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.