Writing Unit Tests for Spring Web Applications
After we have finished all lessons of this topic, we:
- Understand how we can configure our unit tests.
- Know how we can write unit tests for a normal web application.
- Know how we can write unit tests for a REST API.
Lessons
- Introduction to Spring MVC Test Framework
- Configuring the System Under Test
- Writing Unit Tests for "Normal" Controllers - Configuration
- Writing Unit Tests for "Normal" Controllers - Rendering Data
- Writing Unit Tests for "Normal" Controllers - Forms
- Writing Unit Tests for a REST API - Configuration
- Writing Unit Tests for a REST API - Reading Data
- Writing Unit Tests for a REST API - Writing Data