The Quest for the Holy Integration Test
summary
Shows how to test Spring Web applications by combining Spring MVC Test and HtmlUnit to exercise pages end-to-end (including JavaScript execution) so tests can interact with forms and views like a browser-based user would. Demonstrates creating reusable view components to make tests easier to maintain during refactoring and using BDD-style techniques to build comprehensive integration tests.
AI-written summary · about
chapters (17)
- 0:00Start
- 5:49Recap - Unit Testing • Just your object
- 6:51Recap - Integration / System Testing
- 8:18Recap - Spring MVC Test
- 17:27Why use HtmlUnit
- 20:17Dependencies
- 20:43Spring Test Setup
- 27:58Using HtmlUnit
- 38:43WebDriver Setup
- 40:03WebDriver Usage
- 44:18Geb Setup
- 46:35Geb Usage
- 50:38Contents
- 53:11HtmlUnit + Spring MVC Test is Awesome!
- 53:42What is Missing
- 56:45BDD - How it Works 1. BEFORE developing a feature, describe the behavior
- 57:54Step 1 - Describe the Behavior • Different methodologies/frameworks for doing this
related talks
44mTesting Web Apps with Spring Framework
58mIntegration Testing from the Trenches
01h 20mIntegration Testing from the Trenches
01h 03mWebinar: Testing Web Applications with Spring 3.2
29mState of Web Integration Testing
01h 46mHow Java developers should test their applications (RU)
42mScalaWebTest - integration testing made easy
47mMicroservices Testing with Java
