Disclosure: when you buy through links on our site, we may earn an affiliate commission.

Learn Java Unit Test: Mockito & Powermock Complete Tutorial

JUnit 5 with Mockito and JUnit 5 with Powermock absolutly tutorial on JUnit 5 framework Java 16 and JoCoCo maven plugin
4.9
4.9/5
(52 reviews)
256 students
Created by

9.8

CourseMarks Score®

9.4

Freshness

10.0

Feedback

9.3

Content

Platform: Udemy
Video: 5h 51m
Language: English
Next start: On Demand

Top Mockito courses:

Detailed Analysis

CourseMarks Score®

9.8 / 10

CourseMarks Score® helps students to find the best classes. We aggregate 18 factors, including freshness, student feedback and content diversity.

Freshness Score

9.4 / 10
This course was last updated on 10/2021.

Course content can become outdated quite quickly. After analysing 71,530 courses, we found that the highest rated courses are updated every year. If a course has not been updated for more than 2 years, you should carefully evaluate the course before enrolling.

Student Feedback

10.0 / 10
We analyzed factors such as the rating (4.9/5) and the ratio between the number of reviews and the number of students, which is a great signal of student commitment.

New courses are hard to evaluate because there are no or just a few student ratings, but Student Feedback Score helps you find great courses even with fewer reviews.

Content Score

9.3 / 10
Video Score: 8.5 / 10
The course includes 5h 51m video content. Courses with more videos usually have a higher average rating. We have found that the sweet spot is 16 hours of video, which is long enough to teach a topic comprehensively, but not overwhelming. Courses over 16 hours of video gets the maximum score.
Detail Score: 9.4 / 10

The top online course contains a detailed description of the course, what you will learn and also a detailed description about the instructor.

Extra Content Score: 9.9 / 10

Tests, exercises, articles and other resources help students to better understand and deepen their understanding of the topic.

This course contains:

3 articles.
3 resources.
0 exercise.
0 test.

Table of contents

Description

**** Please enable the vedio cc function (captions ) *****
Learn Java Unit Test: Mockito & Powermock Complete Tutorial contains below agenda, this course base on JAVA 16 and latest mockito 3.x version and latest powermock most detials guidance how to write the unit test code.
  1. overview understand mocking
    1.1 F.I.R.S.T Principles introduction
•Fast
•Isolated
•Repeatable
•Self-validating
•Timely
    1.2 what is mocking
    1.3 simulate the user login application
    1.4 unit test the user login function with mockito
  2. Mockito details tutorial
    2.1 how to mock objects
    2.2 deep mock
    2.3 mock object stubbling statement
•      when…thenReturn
•      doReturn…when
•      doNothing…when
•      when…thenThrow
•      doThrow…When
•      when…thenAnswer
•      doAnswer…when
•      when…thenCallRealMethod
•      doCallRealMethod…when
    2.4  Stubbing statement – multiple return values
    2.5 Stubbing statement – Cascading code style
    2.6 Spying
    2.7 Mockito argument matcher
    2.8 verify method invocations
    2.9  verify with VerificationMode
    2.10 Mockito verify Interactions
    2.11 Mockito ArgumentCaptor & @Captor
    2.12 @InjectMocks
  3. Mockito Inline  Module
    3.1 Mockito & BDD code style
    3.2 Mockito mock static method
    3.3 Mockito mock final classes & methods
  4. Powermock details tutorial
    4.1 what is powermock
    4.2 why need powermock
    4.3 powermock mock local variables
    4.4 powermock mock  static methods
    4.5 powermock mock final classes & methods
    4.6 powermock mock private methods
    4.7 powermock spying
  5. JoCoCo
    5.1 JoCoCo for unit test coverage report on-the fly instrumentation
    JoCoCo for unit test coverage report offline instrumentation

You will learn

✓ Know the unit test F.I.R.S.T principles
✓ How to write the correct unit test in Java
✓ Fully understand the Mockito 3.x usage
✓ Fully understand the Powmock usage
✓ Fully understand the TDD methodology
✓ Unit test coverage by JoCoCo

Requirements

• Basic knowledge of unit testing(Junit 5)
• Basic Java knowledge (version 1.8 or above)
• Basic Knowledge of Maven
• Experience of Intellij IDEA

This course is for

• Java Developer
• JVM(Scala,Groovy,Koltin) Language Develop Engineer
• QA Developer
• Devops Engineer

How much does the Learn Java Unit Test: Mockito & Powermock Complete Tutorial course cost? Is it worth it?

The course costs $14.99. And currently there is a 25% discount on the original price of the course, which was $19.99. So you save $5 if you enroll the course now.

Does the Learn Java Unit Test: Mockito & Powermock Complete Tutorial course have a money back guarantee or refund policy?

YES, Learn Java Unit Test: Mockito & Powermock Complete Tutorial has a 30-day money back guarantee. The 30-day refund policy is designed to allow students to study without risk.

Are there any SCHOLARSHIPS for this course?

Currently we could not find a scholarship for the Learn Java Unit Test: Mockito & Powermock Complete Tutorial course, but there is a $5 discount from the original price ($19.99). So the current price is just $14.99.

Who is the instructor? Is Alexander Wong a SCAM or a TRUSTED instructor?

Alexander Wong has created 3 courses that got 150 reviews which are generally positive. Alexander Wong has taught 2,646 students and received a 4.8 average review out of 150 reviews. Depending on the information available, Alexander Wong is a TRUSTED instructor.
Senior Developer Director
He has more than 10 years of development experience, familiar with CI, CD and other related technologies, and is good at high concurrency, distributed application architecture and design. He is a bestselling author and has published three books in total.

More than 20 sets of video courses have been released on Chinese websites, with more than 1 million downloads.

9.8

CourseMarks Score®

9.4

Freshness

10.0

Feedback

9.3

Content

Platform: Udemy
Video: 5h 51m
Language: English
Next start: On Demand

Students are also interested in

Review widget (for course creators):

Learn Java Unit Test: Mockito & Powermock Complete Tutorial rating
Code for the widget (just copy and paste it to your site):
<a href="https://coursemarks.com/course/learn-java-unit-test-mockito-powermock-complete-tutorial/" target="_blank" title="Learn Java Unit Test: Mockito & Powermock Complete Tutorial on Coursemarks.com"><img border="0" src="https://coursemarks.com/widget/98.svg" width="200px" alt="Learn Java Unit Test: Mockito & Powermock Complete Tutorial rating"/></a>