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
From the course: Complete Guide To Java Testing with JUnit 5 & Mockito
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
-
-
-
-
-
-
-
-
-
-
(Locked)
Walk through a basic Spring Boot application3m 53s
-
(Locked)
Write your first Spring Boot test3m 43s
-
(Locked)
Test Spring data repositories6m 1s
-
(Locked)
Test Spring services4m 9s
-
(Locked)
Test Spring controllers5m 58s
-
(Locked)
Integration testing with Spring Boot10m 40s
-
(Locked)
Best practices and tips for testing Spring Applications2m 9s
-
(Locked)
Challenge: Test a Spring weather application1m 8s
-
(Locked)
Solution: Test a Spring weather application16m 37s
-
(Locked)
-