When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

Mockito: Unit testing in Java
Unlock creativity with Skillshare! Learn acrylic painting, AI writing, graphic design, and photography.
Free

This Course Includes
skillshare
0 (0 reviews )
1 hours 35 minutes
english
Online - Self Paced
course
SkillShare
About Mockito: Unit testing in Java
Welcome to this course!
Installing the JDK
Installing IntelliJ IDEA
What is mocking?
Quick look at a Mockito project
Setting up your first Mockito project
Specifying return values
Verify method behavior
Verify the range of method calls
The InOrder class
Argument Matchers
Spies
What You Will Learn?
- Hello and welcome to the complete course on the latest Mockito framework iteration out there..
- In this course we are going to start from zero and first of all set up our environment in order to write Java code and furthermore unit-test our methods using this framework..
- I will then introduce the theory behind mocking and the different types of mocks there are. This way, we can better understand how and why is this process useful to us, not just as independent programmers or freelancers but also constituting a huge advantage on your CV and an important thing to know the ins and outs about..
- Furthermore we are going to dive deep straight into the code to get you started as quickly as possible. I’ll use an example of a simple, but practical Java project, to show you a variety of mocking techniques. You'll also learn the best practices and coding standards for unit tests based on my developing experience..
- Writing Great Unit Tests distinguishes Good Programmers from Great Programmers. In this course, you will learn how to Write Great Java Unit Tests with Mockito and JUnit..
- According to statistics, most of the Java developers use Mockito when they write tests for their Java applications. It’s a basic skill that became required, so if you want to start your Java Developer career or take it to another level, you’ll have to write unit tests. With Mockito, you’ll write them better and faster..
- So with all that being said, I think you are ready to start learning this in-demand framework now..