UDEMY
UDEMY Logo

JUnit and Mockito Crash Course 

  • Offered byUDEMY

JUnit and Mockito Crash Course
 at 
UDEMY 
Overview

Learn how to use JUnit and Mockito and Unit Test in easy steps

Duration

6 hours

Total fee

549

Mode of learning

Online

Credential

Certificate

JUnit and Mockito Crash Course
Table of content
Accordion Icon V3
  • Overview
  • Highlights
  • Course Details
  • Curriculum
  • Faculty

JUnit and Mockito Crash Course
 at 
UDEMY 
Highlights

  • Certificate of completion
  • 6 hours on-demand video
  • 15 downloadable resources and 1 article
  • Access on mobile and TV
  • 30-Day Money-Back Guarantee
  • Full Lifetime Access
Read more
Details Icon

JUnit and Mockito Crash Course
 at 
UDEMY 
Course details

Skills you will learn
What are the course deliverables?
  • After completing the course learner will:
  • Learn what Unit Testing is
  • Understand the importance of Unit Testing
  • Learn the JUnit Framework and API
  • Learn what mocking is and why we should mock
  • Write tests using JUnit and Mockito
  • Learn What Test Coverage is and how to measure it
  • All in simple and easy steps
  • Spring Testing Quick Start
  • PowerMock Quick Start
  • Parameterized JUnit
More about this course
  • In over 2 hours of lectures this course covers necessary JUnit API and its usage with Mockito
  • This course covers the importance of unit testing , how to effectively use JUnit ,how mocking works and how to use Mockito to write real unit tests
  • Up on completion learner will be able to test Java and JavaEE applications ,run unit tests as a part of build and measure code coverage and improve it

JUnit and Mockito Crash Course
 at 
UDEMY 
Curriculum

Software Setup

Installing Java SDK and Eclipse IDE

Download the completed projects

Introduction

Course Introduction

Unit Testing Introduction

Unit Testing Introduction

JUnit in Action

Introduction

JUnit Introduction

JUnit Introductioin

Hello JUnit

Hello JUnit

Testing for Exceptions

Exceptions

@Before and @After

Before and After

Using JUNIT 5

Introduction

Maven Introduction

Create the project

Fix the annotations

Assert Exceptions

Run Tests

Run Tests using Maven

Rest of the course

Mockito in Action

Introduction

Mocking Introduction

Mocking Introduction

The Order Processor Usecase

Create the DAO Layer

Create the BO Layer

Add the Mockito Dependency

Stubbing and Setting Expectations

Stubbing and setting expectations

Verify the results

Verify the results

Test a negative scenario

Mocking Exceptions

Test Cancel Order

Cancel Order Negative Scenario

Cancel Order Exception Scenario

Cancel Order Exception On Update

Use Mockito with JUnit5

Introduction

Update Usecase

Add Dependencies

Setup Mocks

Test Positive Scenarios

Test Negative Scenarios

Faculty Icon

JUnit and Mockito Crash Course
 at 
UDEMY 
Faculty details

Bharath Thippireddy, IT Architect and Best Selling Instructor
Bharath Thippireddy is an Entrepreneur, Software Architect and Public Speaker who has trained 600000 + students across the planet. He is Oracle Certified Developer, Web Component Developer, Business Component Developer, Web Services Developer.

Other courses offered by UDEMY

549
50 hours
– / –
3 K
10 hours
– / –
399
19 hours
– / –
549
4 hours
– / –
View Other 2375 CoursesRight Arrow Icon
qna

JUnit and Mockito Crash Course
 at 
UDEMY 

Student Forum

chatAnything you would want to ask experts?
Write here...