~/talk

The Curse of Spring Test

TalkinRussianat JBreak 2017 · on Tuesday, 2017-04-04· [java, testing]
slides:none on file

Explains problems and pitfalls when testing Spring applications, focusing on how Spring Test framework behavior can lead to fragile or misleading tests. Describes concrete issues with application context loading, test isolation, and configuration, and discusses practical techniques to make Spring-based tests more reliable.

AI-written summary · about

  1. 0:00Spring Boot tests intro
  2. 1:45Test types and architecture
  3. 4:15Unit test with context
  4. 8:10Fixing failed unit test
  5. 12:51Context config issues
  6. 18:23Property sources in tests
  7. 21:12Test annotation
  8. 23:43Context hierarchy
  9. 27:15Slow test execution
  10. 30:06Debugging context cache
  11. 31:11Database cache testing
  12. 36:09Automatic context loading
  13. 38:56Bean naming conflicts
  14. 40:49Configuration scanning
  15. 45:27Config vs Application
  16. 47:14Repositories with DataJpaTest
  17. 51:15Mocking default responses
  18. 55:31Isolating test types
  19. 56:34MockMvc integration
  20. 58:00Test scanning behavior
  21. 1:00:09Best practices
~/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.