Udemy

Practical Junit & Mockito Test with Java SpringBoot & JPA

Enroll Now
  • 8,237 Students
  • Updated 6/2023
4.4
(106 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
8 Hour(s) 48 Minute(s)
Language
English
Taught by
Ranjan Pandey
Rating
4.4
(106 Ratings)

Course Overview

Practical Junit & Mockito Test with Java SpringBoot & JPA

Learn about Test Driven Development & how its implemented in companies for Java SpringBoot project using Junit & Mockito

Welcome to this amazing course, where you will learn about:

  1. What is unit testing?

  2. Why is unit testing important?

  3. What is Test Driven Development(TDD) ?

  4. How to apply Test Driven Development to the projects?

  5. What is Junit and Mockito?

We will learn to write unit tests using Junit 5 Framework and Mockito Library.

We will start with how projects are developed in software companies using modern stacks like Java, Spring, SpringBoot, 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.


Course Content

  • 10 section(s)
  • 65 lecture(s)
  • Section 1 Introduction Setup and Concept Building
  • Section 2 Layered Architecture, ORM Framework and Creating new property API
  • Section 3 GET, PUT, PATCH, DELETE operation on properties
  • Section 4 Unit Test & Different Annotations
  • Section 5 Lifecycle of Test and Assertions
  • Section 6 Writing Test Cases with JUnit 5
  • Section 7 Writing Test Cases for Controller Layer
  • Section 8 Writing Test Cases for Converter & Service layer
  • Section 9 Writing Test cases for Exception and Model
  • Section 10 Source Code

What You’ll Learn

  • 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, SpringBoot 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


Reviews

  • S
    Sohrab Ali
    5.0

    Learning was fun with step-by-step code demonstrations. I could apply what I learned in a similar project quickly without much effort.

  • A
    AJ Bhandal
    5.0

    Good course for beginners, will take you through some of the key concepts to set a good foundation for your Java development and test journey.

  • V
    Vishal Singh
    2.0

    White-board art and explanation were not clear. It would be better.

  • K
    Krishna Prasad Khanal
    5.0

    Easily explained , highly recommended.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed