Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Spring Boot Fundamentals with Unit Testing (MockMVC/Mockito)
Section 1: Introduction to Spring Boot with Configuration SetupFirst Section
How this Course is organized - MUST WATCH (7:37)
Java and Eclipse quick Installation to setup Environment (6:07)
Install Spring tools Suite Plugin to get started with Spring Projects (12:27)
Understand Spring Initializer Project Structure and its Terminologies (11:18)
Section 2: Understanding Spring Boot Fundamentals
Where to download Code files?
Getting started with Rest Hello World Service development (4:20)
Understand Rest Controllers in Spring Boot (12:12)
Importance of AutoWired Annotation in grabbing class object (12:27)
Section 3: Setting up JPA Repositories and its Mapping Beans for API's Development
Understand the Library API Contract with database Interaction (5:43)
Set up MYSQL Server to interact with API's (4:40)
Set MYSQL related Properties in Spring Boot Application (12:56)
Get JPA Dependencies and create Entity Beans based on the contract Design (11:02)
Understand JPA Hibernate Properties and JPARepository Interface (9:04)
Get the Data from Database tables with JPA Find Methods using Controller (14:26)
Understand all CRUD operations to interact with DB from Spring controllers (11:39)
Section 4: Develop Rest API Services from Scratch with Spring Boot
Understand AddBook API Contract with implementation plan (5:07)
Build AddBook Rest Controller with Post Mapping (15:24)
Building response with status codes and Headers for AddBook Controller (13:28)
Implementation of Error handling Scenarios for the Service to return messages (16:56)
Implement Get Book by ID Rest Controller with Get Mapping (15:44)
Implement Get Book by Author Rest Controller with Database Interaction Logic (12:06)
Section 5: Understanding JPA Interface to interact with Database from Spring controller
Implementing JPA Custom Interface to build own logic in retrieving data (15:52)
Building Update Book API Logic with Put mapping and DB Interaction (15:00)
Implementing Delete Book API Logic with Delete Http Method (12:01)
Section 6: Implementation of logging for Rest Services
Implementing Logging to setup Log file for all the back end work (9:02)
Implementing Security Authorization to call the Services from the front end (4:30)
Section 7: Unit Testing the Micro Services built by Spring Boot
Introduction to Unit Testing and Integration Testing (13:49)
Identifying Right Candidates of Unit Testing and build testing approach (11:30)
Approach in building Unit Tests for Rest Controller methods (8:29)
Section 8: Mockito Framework to Mock the dependencies for Unit Testing
Importance of Mock Bean Annotation in mocking the external dependencies (16:42)
Response Entity object to get response and inject Junit Assertions to Test (12:06)
Section 9: Mock MVC Framework to run Rest API Tests with Serverless mode
Introduction to Mock MVC and its methods to call the Services from code (18:41)
AndExpect , Perform methods of MockMVC for validation of Unit Tests (8:22)
Part 1 -Build Unit Tests for Rest Controller Methods with Mock MVC (16:39)
Part 2 -Build Unit Tests for Rest Controller Methods with Mock MVC (11:39)
Part 3 -Build Unit Tests for Rest Controller Methods with Mock MVC (6:59)
Wrapping up Tests with the inclusion of Mockito, Mock MVC, and Junit Frameworks (10:51)
Section 10: Building Integration Test Cases with H2 Mock Data Base for Controller Methods
Introduction to Integration Testing and its advantages (4:45)
Understand H2 Mock data base usage and its dependencies for Integration Testing (9:13)
Build Mock SQL Properties file and feed with Mock data what you want to use (8:18)
Introduction to TestRestTemplate class for Integration Testing of Services (12:08)
Asserting the validations for response of API/Services with Integration Test (9:22)
Build Integration Test for Post http method Rest Controller with assertions (16:10)
Section 11: Running all Unit and Integration Test as a batch run from Maven
Starting the Spring Boot Server App from Maven commands (6:24)
Understand building Custom Spring Boot profiles to switch the Back end storage (8:46)
Running Unit and Integration Tests through Maven commands (11:38)
Section 12: Complete Project Code Download
Download Code
Teach online with
Install Spring tools Suite Plugin to get started with Spring Projects
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock