In this chapter, we will cover the following topics:
- Creating tests for MVC controllers
- Configuring a database schema and populating it
- Creating tests using an in-memory database
- Creating tests using mock objects
- Creating a JPA component test
- Creating a WebMvc component test
- Writing tests using Cucumber
- Writing tests using Spock