Practical Junit & Mockito Test with Java Spring Boot & JPA
Learn about Test Driven Development & how its implemented in companies for Java Spring Boot project using Junit & Mockito
Development ,Programming Languages,JUnit
Lectures -58
Duration -7.5 hours
Lifetime Access
Lifetime Access
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
Course Description
- What is unit testing?
- Why is unit testing important?
- What is Test Driven Development(TDD) ?
- How to apply Test Driven Development to the projects?
- What is Junit and Mockito?
We will start with how projects are developed in software companies using modern stacks like Java, Spring, Spring Boot, Hibernate, Spring Data JPA and Restful webservices. In this course you will be understanding how different technology and its components work together to build a real world application which end users are able to use in real life. It will be a Property Management System.
We will also learn to relate different concepts with real world examples. In this course we will learn the following:
- We will learn different concepts Spring Framework and RESTful webservices
- We will learn about different design patterns like Singleton, Prototype, Factory, MVC, Adapter etc
- We will learn to create production ready application in a layered architecture
- We will learn about ORM and Spring data JPA(Java Persistence API)
- What is Unit Testing
- What is TDD(Test Driven Development)
- Why is Testing important
- What is Junit and Mockito
- Different Annotations of Junit and Mockito
- Comparison between Junit-4 and Junit-5
- Writing Test cases for the project’s different API endpoints
- Checking the code coverage & Debugging
- Writing Test cases for Success, Failure and Error scenarios
- Test cases for Model classes
- You will also get the complete source code used in the course.
- Anyone who wants to become a real backend developer and start to work in companies as a developer of develop high quality projects of their own
Goals
- You will learn about Unit testing and Test Driven Development(TDD) Approach
- You will learn to write Junit and Mockito test cases for various scenarios
- You will learn about Spring, Spring Boot and Create REST API's using different Annotations
- You will learn to code with Layered Architecture approach
- You will learn about Hibernate and JPA ORM framework and how to work with them
- You will learn all this by the help of a project and complete hands-on
Prerequisites
- Basics of Java Programming Language

Curriculum
Check out the detailed breakdown of what’s inside the course
Introduction setup and concept building
13 Lectures
-
Course Overview 02:35 02:35
-
What is Unit Testing and Test Driven Development 08:41 08:41
-
Software Installation 03:34 03:34
-
Generating Springboot starter project 03:10 03:10
-
Walkthrough of Springboot starter project files and folders 14:13 14:13
-
Introduction to Spring Framework and SpringBoot 09:39 09:39
-
RESTful webservices Http methods Status code SpringBoot Annotation 15:17 15:17
-
MVC Design Pattern Part-1 14:51 14:51
-
MVC Design Pattern Part-2 05:57 05:57
-
Understanding and Creating DTO 08:26 08:26
-
Understanding RESTful webservice with practical example 12:48 12:48
-
Understanding RequestParam annotation with practical code example 22:48 22:48
-
Undesrtanding PathVariable annotation with practical code example 14:07 14:07
Layered architecture, ORM framework and creating new property API
7 Lectures

GET, PUT, PATCH, DELETE operation on properties
4 Lectures

Unit test & different annotations
11 Lectures

Lifecycle of test and assertions
3 Lectures

Writing test cases with junit 5
7 Lectures

Writing test cases for controller layer
4 Lectures

Writing test cases for converter & service layer
6 Lectures

Writing test cases for exception and model
3 Lectures

Instructor Details

Skills Marathon
Course Certificate
Use your certificate to make a career change or to advance in your current career.

Our students work
with the Best


































Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now