Best seller

Learn Java Unit Testing with Junit & Mockito in 30 Steps

Udemy
Deal Score+7
$11 $119.99 REDEEM
REDEEM COUPON
Deal Score+7
$11 $119.99 REDEEM
REDEEM COUPON
Learn Java Unit Testing with Junit & Mockito in 30 Steps
Learn Java Unit Testing with Junit Mockito in 30 Steps

Learn Mockito and JUnit - the most popular Java unit testing and mocking frameworks - with 25 Examples

Product Brand: Udemy

Editor's Rating:
4.5

Udemy Coupon Code for Learn Java Unit Testing with Junit & Mockito in 30 Steps Course. Learn Mockito and JUnit – the most popular Java unit testing and mocking frameworks – with 25 Examples

Created by in28Minutes Official | 4.5 hours on-demand video course

Mockito Course Overview

Learn Java Unit Testing with Junit & Mockito in 30 Steps

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. You take 12 steps with JUnit and 18 steps with Mockito into unit testing proficiency.

Mocking with Mockito

  • Step 01 : Set up an Eclipse Project with JUnit and Mockito frameworks. First Green Bar.
  • Step 02 : Example to start understanding why we need mocks.
  • Step 03 : What is a stub? Create an unit test using Stub? Disadvantages of Stubs.
  • Step 04 : Your first Mockito code! Hurrah!!! Lets use Mockito to mock TodoService.
  • Step 05 : Stubbing variations with Mockito. A few mockito examples mocking List class : Multiple return values, Argument Matchers and throwing exceptions.
  • Step 06 : Introduction to BDD. Given When Then. BDD Mockito Syntax.
  • Step 07 : How to verify calls on a mock? Verify how many times a method is called. We will add deleteTodo method to the TodoService.
  • Step 08 : How to capture an argument which is passed to a mock?
  • Step 09 : Hamcrest Matchers.
  • Step 10 : Let’s simplify things with Mockito Annotations. @Mock, @InjectMocks, @RunWith(MockitoJUnitRunner.class), @Captor
  • Step 11 : JUnit Rules. Using MockitoJUnit.rule() instead of @RunWith(MockitoJUnitRunner.class).
  • Step 12 : Real world Example with Spring
  • Step 13 : What is a spy? How to spy with Mockito?
  • Step 14 : Some Theory : Why does Mockito not allow stubbing final and private methods?
  • Step 15 : Using PowerMock and Mockito to mock a Static Method.
  • Step 16 : Using PowerMock and Mockito to invoke a private Method.
  • Step 17 : Using PowerMock and Mockito to mock a constructor.
  • Step 18 : Good Unit Tests.

JUnit Framework

  • Step 01 : Need for Unit Testing
  • Step 02 : Setting up your First JUnit
  • Step 03 : First Successful JUnit. Green Bar and assertEquals
  • Step 04 : Refactoring Your First JUnit Test
  • Step 05 : Second JUnit Example assertTrue and assertFalse
  • Step 06 : @Before @After
  • Step 07 : @BeforeClass @AfterClass
  • Step 08 : Comparing Arrays in JUnit Tests
  • Step 09 : Testing Exceptions in JUnit Tests
  • Step 10 : Testing Performance in JUnit Tests
  • Step 11 : Parameterized Tests
  • Step 12 : Organize JUnits into Suites

Master Hibernate and JPA with Spring Boot in 100 Steps Best seller

Learn Hibernate, JPA (Java Persistence API) and Spring Data JPA using Spring and Spring Boot
$11 $119.9 REDEEM
REDEEM COUPON
views coupon details

[NEW] Python Bootcamp: Master Python Programming in 2024

Beginner to Python Programming? Get FREE access to 200+ Python Programming Labs for Learning, Practice and Interview.
$11 $119.99 REDEEM
REDEEM COUPON
views coupon details

Who this course is for:

  • Students who want to learn unit testing with Junit
  • Students who want to learn mocking with Mockito
  • We will help you install Eclipse and Maven

Instructor

in28Minutes Official
Ranga Karanam, the founder of in28minutes, has 2 decades of experience with technology – architecture, design, and programming. We are helping learners take their first steps into modern cloud native technology and gain expertise on AWS, Azure, Google Cloud, Docker, Kubernetes amongst others. Our happiest moments are when learners tag us on LinkedIn or reach out to us with their stories of getting their first job, getting a promotion, or a big raise.

Ranga is multi-cloud certified – Google Cloud Certified Professional Cloud Architect, AWS Certified Solutions Architect Associate, Google Cloud Certified Associate Cloud Engineer, AWS Certified Developer Associate, AWS Certified Cloud Practitioner, Azure Fundamentals Certified AZ-900, DP-900 and AI-900.

Our courses are focused on Cloud Certifications (AWS, Azure, Google Cloud Platform – GCP), DevOps, Full Stack ( React, Angular ), Serverless, Programming, and Microservice Development with Java and Spring Boot.

Affiliate Disclosure: Thank you for visiting Udemy Coupons ME. We want to let you know that some of the links on our website are affiliate links. By clicking on these links and making a purchase, we may receive a small commission. This is at no extra cost to you. Our content, including the guidance we provide on education choices, is created with integrity and based on the practical assessment and feedback from our community of users. We focus on helping you find the best online courses to meet your needs, while the affiliate commissions we earn are reinvested into enhancing our platform. We appreciate your support and trust in our recommendations!

Josh Smith
Josh Smith

The Couponos team has over ten years of experience finding free and 100%-off Udemy Coupons. We add over 200 coupons daily and verify them constantly to ensure that we only offer fully working coupon codes. We are experts in finding new offers as soon as they become available. They're usually only offered for a limited usage period, so you must act quickly.