~/talk

Caching the Spring Context in Tests: How to Speed Up Testing

TalkinRussianat JPoint 2023 · 2023-04-12..04-19· [java, developer-experience]
links:none on file
slides:none on file

The talk explains how to speed up Java/Spring test runs by reusing cached Spring ApplicationContexts during local development the same way CI/CD does, avoiding JVM shutdown between test runs. It describes using hotswap tools—DCEVM with HotSwapAgent—to allow code updates without restarting the cached JVM, and presents an IntelliJ IDEA plugin that implements this workflow plus guidance on writing HotSwapAgent plugins.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Test speed matters
  3. 3:37Spring context startup problem
  4. 7:11Caching Spring context
  5. 10:01DCEVM and HotSwap setup
  6. 14:38State update challenges
  7. 17:49Plugin architecture
  8. 18:53Live plugin demo
  9. 22:07MyBatis custom plugin
  10. 37:42Debugging demo issue
  11. 39:06Plugin-test sync
  12. 42:40Key takeaways
  13. 44:52Q&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.