© Felipe Gutierrez 2016

Felipe Gutierrez, Pro Spring Boot, 10.1007/978-1-4842-1431-2_6

6. Testing with Spring Boot

Felipe Gutierrez

(1)Albuquerque, New Mexico, USA

This chapter shows you how to test your Spring Boot applications. It’s important to understand that you actually don’t need Spring to write tests, because you will write your classes following simple architectural design principles such as designing to an interface or using the SOLID object oriented design principle. Spring encourages you with some of these designs and provides some tools for testing.

Remember that Spring Boot is Spring, so testing should be very straight forward. You will reuse all the Spring test tools and features. In this case, you will use the spring-boot-starter-test ...

Get Pro Spring Boot now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.