~/talk

How Java developers should test their applications (RU)

Talkat JavaDay Kyiv 2015 · 2015-11-06..11-07· [testing, java]
slides:none on file

Argues that business logic belongs in services or event handlers and should be unit-tested with mocks (mentions Mockito and alternatives), while flat integrator services get integration or UI-backed coverage; demonstrates Spring MockMvc standalone controller tests, DB tests with in-memory H2 and DBUnit, embedded Redis/Cassandra units, and WebDriver page‑object UI tests (recommends Serenity). Shows CI-friendly timings (thousands of tests -> full build 2–3 minutes, regression 7–8 minutes), and promotes instrumentation and a testable Clock abstraction. Key rule: mock protocols not domain objects.

AI-written summary · about

  1. 0:00Introduction
  2. 2:18Business logic testing
  3. 17:30Mocks and usage
  4. 21:51MVC layer testing
  5. 39:17Database testing
  6. 57:17Object transformations and services
  7. 1:06:31Multithreading and testing
  8. 1:17:29UI testing with Selenium
  9. 1:28:25REST testing and tools
  10. 1:38:46File system testing
  11. 1:42:00Testing with clocks and dates
  12. 1:45:13Q&A
~/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.