O'Reilly logo

Pro Spring Boot by Felipe Gutierrez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required