© K. Siva Prasad Reddy 2017

K. Siva Prasad Reddy, Beginning Spring Boot 2, https://doi.org/10.1007/978-1-4842-2931-6_15

15. Testing Spring Boot Applications

K. Siva Prasad Reddy

(1)Hyderabad, India

Testing is an important part of software development. It helps developers verify the correctness of the functionality. JUnit and TestNG are two of the most popular testing libraries used in Java projects.

Test Driven Development (TDD) is a popular development practice where you write tests first and write just enough production code to pass the tests. You write various types of tests, such as unit tests, integration tests, performance tests, etc. Unit tests focus on testing one component in isolation, whereas integration tests verify the behavior of a ...

Get Beginning Spring Boot 2: Applications and Microservices with the Spring Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.