~/talk

Webinar: Testing Web Applications with Spring 3.2

Talkat SpringOne2GX 2012 · 2012-10-01..10-03· [testing]
slides:none on file

Spring Framework 3.2 adds an integrated Spring MVC testing API that runs without a servlet container and exercises the DispatcherServlet lifecycle using MockMvc. Tests load a WebApplicationContext via @WebAppConfiguration, inject MockHttpServletRequest/Response/Session, and verify request/session-scoped beans, response status, headers and JSON with JsonPath. The framework supports ApplicationContextInitializers (initializers=), context hierarchies via @ContextHierarchy, mock RestTemplate client tests with MockRestServiceServer, standalone controller tests, Mockito-backed mocks, filter/Spring Security integration, and rich debug printing.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:43Spring test context updates
  3. 3:17Web application context
  4. 5:56Configuration examples
  5. 8:59Behind the scenes: testing
  6. 12:04Testing web scopes
  7. 18:22Context initializers
  8. 21:49Context hierarchies
  9. 26:16Introduction to MockMvc
  10. 35:15Testing strategies
  11. 38:40Assertions and verification
  12. 44:13View layer and debugging
  13. 47:07Standalone and filter setup
  14. 50:55Shared properties and APIs
  15. 53:26Client-side rest testing
  16. 57:08Q&A and closing
~/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.