Book Image

Spring Boot Cookbook

By : Alex Antonov
Book Image

Spring Boot Cookbook

By: Alex Antonov

Overview of this book

Table of Contents (15 chapters)
Spring Boot Cookbook
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Application Testing

In this chapter, we will cover the following topics:

  • Creating tests for MVC Controllers

  • Automatically configuring database schema and populating it with data

  • Creating tests using in-memory database with data fixtures

  • Creating tests using Mockito to mock DB

  • Writing tests using Cucumber

  • Writing tests using Spock