Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Mockito and JUnit in Java for beginners
Rating: 4.2 out of 5(25 ratings)
111 students

Mockito and JUnit in Java for beginners

Learn JUnit and Mockito by working along with me through the examples
Created byTony Perrin
Last updated 8/2019
English

What you'll learn

  • Learn to use JUnit and Mockito to develop higher quality, fully tested code
  • Learn to use Mockito verification to confirm method calls
  • Learn to use Mockito stubbing to interact with mock objects
  • Learn to use stubbing and verification together to develop fully tested code

Course content

7 sections42 lectures1h 48m total length
  • Set up with Intellij and Maven4:35

    Set up a new Maven project in IntelliJ using the quick start archetype. Add JUnit and Mockito dependencies, enable auto-import, and create a test to verify a list operation.

Requirements

  • Basic Java skills

Description

In this course I take you through the full process of Mockito and JUnit and how to use it which will get you up to speed quickly.

We'll cover the basic fundamentals of Mockito and JUnit by going through examples of real code to give you a solid understanding of the frameworks.

The course aims to take complete beginners through everything thats needed in Mockito and JUnit from IDE setup to working through examples.

This course will help get you quickly up to speed in one of the most overlooked  but essential areas of Java development which features highly in job requirements and is commonly featured in first and second stage interviews.


Who this course is for:

  • Beginner Java developers wanting to quickly get up to speed using JUnit and Mockito