Writing Integration Tests for Spring Web Applications
After we have finished all lessons of this topic, we:
- Understand how we can initialize our database into a known state before our integration tests are run.
- Know how we can write assertions for the data that is found from our database.
- Can write integration tests for Spring powered repositories.
- Know how we can write integration tests for our web applications.
Lessons
- Using DbUnit Data Sets in Our Integration Tests
- Resetting Generated Id Column Values Before Every Test Method
- Writing Integration Tests for Spring Powered Repositories
- Writing Integration Tests for "Normal" Controllers - Rendering Data
- Writing Integration Tests for "Normal" Controllers - Forms
- Writing Integration Tests for a REST API - Reading Data
- Writing Integration Tests for a REST API - Writing Data
- Writing Security Tests for Spring MVC Controllers