×

Getting Started with Mockito 2

Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare+
Duration

1h 24m

level

Intermediate

Course Creator

Nicolae Caprarescu

Last Updated

23-Feb-24

Writing unit tests is difficult if the dependencies between your application classes make it difficult to draw a boundary between what you want to test and the rest of the codebase. Mockito helps you to easily create Java tests by using mock objects.

Add your review

Writing unit tests is difficult if the dependencies between your application classes make it difficult to draw a boundary between what you want to test and the rest of the codebase. In this course, Getting Started with Mockito, you will gain the ability to focus on the thing you’re trying to test without having to worry about the rest of the codebase. First, you will learn how to use mock objects instead of real dependencies. Next, you will discover how to configure mocked methods, including return values and exception throwing. Finally, you will explore the concept of partial mocks and how to use them to test tricky situations. When you are finished with this course, you will have the skills and knowledge of mocking with Mockito needed to test your Java applications by creating, configuring, and using mocks in your unit tests.
Author Name: Nicolae Caprarescu
Author Description:
Now an independent consultant, Nicolae started his career in 2013 as a software engineer. Over the years, Nicolae worked on systems ranging from high-frequency Java trading engines to various apps for startups. Nicolae’s technical roles have always been full-stack, most often focusing on Java back-ends and web-based front-ends: Java, Spring, JDBC, SQL, Maven, Gradle, TeamCity, Jenkins, TDD, JUnit, mocking, automated testing, JavaScript, Selenium and RESTful. Nicolae’s technical interests include… more

Table of Contents

  • Course Overview
    1min
  • Introduction to Mockito
    20mins
  • Configuring Return Values of Mocked Methods
    19mins
  • Verifying That Mocked Methods Behave Accordingly
    15mins
  • Advanced Mocking Techniques
    20mins
  • Behavior-driven Development (BDD)
    6mins

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Getting Started with Mockito 2”

Your email address will not be published. Required fields are marked *

Getting Started with Mockito 2
Getting Started with Mockito 2
Edcroma
Logo
Compare items
  • Total (0)
Compare
0
https://login.stikeselisabethmedan.ac.id/produtcs/
https://hakim.pa-bangil.go.id/
https://lowongan.mpi-indonesia.co.id/toto-slot/
https://cctv.sikkakab.go.id/
https://hakim.pa-bangil.go.id/products/
https://penerimaan.uinbanten.ac.id/
https://ssip.undar.ac.id/
https://putusan.pta-jakarta.go.id/
https://tekno88s.com/
https://majalah4dl.com/
https://nana16.shop/
https://thamuz12.shop/
https://dprd.sumbatimurkab.go.id/slot777/
https://dprd.sumbatimurkab.go.id/
https://cctv.sikkakab.go.id/slot-777/
https://hakim.pa-kuningan.go.id/
https://hakim.pa-kuningan.go.id/slot-gacor/
https://thamuz11.shop/
https://thamuz15.shop/
https://thamuz14.shop/
https://ppdb.smtimakassar.sch.id/
https://ppdb.smtimakassar.sch.id/slot-gacor/
slot777
slot dana
majalah4d
slot thailand
slot dana
rtp slot
toto slot
slot toto
toto4d
slot gacor
slot toto
toto slot
toto4d
slot gacor
tekno88
https://lowongan.mpi-indonesia.co.id/
https://thamuz13.shop/
https://www.alpha13.shop/
https://perpustakaan.smkpgri1mejayan.sch.id/
https://perpustakaan.smkpgri1mejayan.sch.id/toto-slot/
https://nana44.shop/
https://sadps.pa-negara.go.id/
https://sadps.pa-negara.go.id/slot-777/
https://peng.pn-baturaja.go.id/
https://portalkan.undar.ac.id/
https://portalkan.undar.ac.id/toto-slot/
https://penerimaan.ieu.ac.id/
https://sid.stikesbcm.ac.id/