Unit testing Spring Boot applications
Check here a good overview of unit testing your spring boot application:
1- Unit Testing with Spring Boot
2- Testing Spring MVC Web Controllers with @WebMvcTest
3- Testing JPA Queries with @DataJpaTest
4- Integration Tests with @SpringBootTest
Start with: https://reflectoring.io/unit-testing-spring-boot/
1- Unit Testing with Spring Boot
2- Testing Spring MVC Web Controllers with @WebMvcTest
3- Testing JPA Queries with @DataJpaTest
4- Integration Tests with @SpringBootTest
Start with: https://reflectoring.io/unit-testing-spring-boot/