Testing Spring Boot Applications
Offered By: Spring I/O via YouTube
Course Description
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
Related Courses
Java Spring Tutorial Masterclass - Learn Spring Framework 5Udemy Learn Spring Boot - Rapid Spring Application Development
Udemy Spring Framework: Overview of Spring Data
Pluralsight Creating Your First Spring Boot Microservice
LinkedIn Learning Spring Cloud GCP: Setting Up a Cloud SQL Database
LinkedIn Learning