Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Testing Spring Boot Applications

Spring I/O via YouTube

Overview

Explore advanced testing techniques for Spring Boot applications in this comprehensive conference talk from Spring I/O 2019. Delve into the importance of efficient testing practices, learning when to use unit tests versus integration tests. Gain in-depth knowledge of Spring Boot's advanced testing features, including @MockBean, @SpyBean, and test slices. Discover how to name tests effectively, utilize RestServiceServer and Spring Data, and implement Test Containers. Examine the concept of integration test context cache and understand Spring Boot Test overview. Learn about slice test support and annotations through practical examples involving customer and order repositories. Master the implementation of Mock MVC and explore Spring Boot JUnit 5 integration. Apply these insights to enhance the reliability and efficiency of your Spring Boot application testing process.

Syllabus

Intro
Why Test
Unit Tests
Naming Tests
RestServiceServer
Spring Data
Test Containers
What is Test Containers
What is Integration Test
Context Cache
Integration Test
Spring Boot Test Overview
Slice Test Support
Slice Annotations
Example Application
Mock Bean
Customer Repository
Order Repository
Mock MVC
Spring Boot JUnit 5
Outro

Taught by

Spring I/O

Reviews

Start your review of Testing Spring Boot Applications

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.