Advanced Spring: Effective Integration Testing with Spring Boot
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to write several types of integration testing for both web and client applications, using Spring Boot.
Syllabus
Introduction
- Take advantage of Spring events
- What you need to know
- Why bother testing?
- Creating a Spring Boot application from start.spring.io
- Creating human-readable tests with Mockito and AssertJ
- Effective ways to test your data access
- Writing integration tests for a JPA repository
- Challenge: Write tests for a custom query
- Solution: Write tests for a custom query
- Writing integration tests for the service layer
- Writing integration tests for cache
- Challenge: Write an integration test for exceptions
- Solution: Write an integration test for exceptions
- Which type of web controller responsibilities to test?
- Writing integration tests for a web controller
- Testing custom exception returns
- Integration testing without making an external API call
- Writing integration tests for rest endpoints
- Introduction to Spring Cloud Contract
- Ensuring client app (rest call) and web app (controller) are in sync
- More Spring Boot integration testing resources
Taught by
Terezija Semenski
Related Courses
Web Engineering II: Developing Mobile HTML5 AppsTechnische Hochschule Mittelhessen via iversity Introduction to MongoDB using the MEAN Stack
MongoDB via edX Desarrollo de aplicaciones avanzadas con Android
Universidad Nacional Autónoma de México via Coursera Utilisez des API REST dans vos projets web
IBM via OpenClassrooms Extend Your Application with REST Services
Microsoft via edX