From the course: Complete Guide To Java Testing with JUnit 5 & Mockito

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Walk through a basic Spring Boot application

Walk through a basic Spring Boot application

- [Instructor] In this chapter, we'll explore how to integrate automated testing with the Spring Boot application. Spring is a comprehensive framework for building enterprise-grade Java applications. It provides a wide range of functionalities and tools that simplify the development process, making it easier to build robust applications. Spring Boot is an extension of the Spring Framework that aims to simplify the development of Spring applications by providing a convention over configuration approach. It reduces the need for boilerplate configuration and setup, enabling developers to quickly create standalone, production-ready Spring applications. With this in mind, let's walk through a simple Spring Boot application. First, let's look at the POM file. There are a few dependencies in here that let us use the Spring Framework. The parent section is used to specify a parent project from which the current project will inherit configurations and dependencies. In this case, we're using…

Contents