Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured [Udemy Coupon Code]

"When you purchase something through one of the links on our site, we may earn an affiliate commission at no additional cost to you."

Limited offer hurry up

Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured is a top-rated Udemy course taught by Sergey Kargopolov — with over 12860+ students enrolled since it launched.

Unit Testing & Integration Testing of Java and Spring Boot applications. Test Driven Development(TDD) Explained.

Don’t wait! This special offer won’t last long.

Click the button below to Get up to 100% OFF the regular price.

(The discount will be applied automatically at checkout — no code needed!)

Hurry — this discount on Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured won’t be around forever. Take action now!

100% off Udemy coupon code

Why enroll in the Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured Udemy Course?

  • Udemy gives you access to over 250,000 courses and 85,000 expert instructors worldwide.
  • Courses are led by experienced professionals dedicated to delivering a high-quality learning experience.
  • Many of Udemy’s most popular courses have hundreds of thousands of students enrolled.
  • Udemy offers online coupons, promo codes and voucher for the majority of its courses.

Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured Udemy Promotion code

Course Sections
Introduction
Add JUnit 5 to Maven project
Add JUnit 5 to Gradle project
Add JUnit 5 to a basic Java project
Basics of JUnit 5
Advanced JUnit 5
Test Driven Development (TDD) in Java
Mockito – Create Mocks to test Java code in isolation
Code Coverage – Identify untested code in your Java application
Spring Boot (Part 1) – Testing Rest Controllers
Spring Boot (Part 2) – Testing All layers
Spring Boot(Part 3). Testing Data Layer Only. JPA Entities.
Testing JPA Repositories
Integration testing with Testcontainers
Testing RESTful Web Services(REST APIs) with REST Assured
What’s next?
Course Description
Requirements
Basic knowledge of Java

Unit Testing is a must-have skill and this video course is about unit testing.
If you take this video course, you will learn how to test your Java code using JUnit 5 and Mockito framework.
This video course is for beginners and you do not need to have any prior Unit testing knowledge to enrol in this course.

JUnit 5 in Different Java projects
There are different Java projects, build tools and development environments. In this course, you will learn how to create a new project and configure JUnit 5 support for different types of projects, using different development environments and build tools.
You will learn how to create a Unit test in: 

IntelliJ IDEA and

Eclipse Development environments.
You will learn how to create a Unit test in: 

Regular Java project,

Maven-based Java project,

Cradle-based Java project.

Course Overview
This video course teaches Unit and Integration testing with Java from the very beginning and covers many advanced topics as well. By the end of this course, you will learn:

JUnit 5 basics, and

JUnit 5 advanced topics.
Once you become familiar with JUnit 5, you will learn to use:

Test-Driven Development(TDD)
You will then learn to use another very popular Test framework for Java called: 

Mockito
You will also learn how to write:

Spring Boot integration tests, and

Use Testcontainers to integrate real, containerized services(like databases) into your Java application tests, making sure your test scenarios are realistic without complex setup.
and how to test API endpoints using REST Assured.
By the end of this course you will learn and be able to use all of the following: 

Create Unit Tests in IntelliJ,

Create Unit Tests in Eclipse,

Run unit tests using Gradle,

Run Unit Tests using Maven,

Use @DisplayName annotation,

Use JUnit assertions,

Test for Exceptions,

Use Lifecycle methods (@BeforeAll, @BeforeEach, @AfterEach, @AfterAll),

Run unit tests in any order you need: (Random, Order by Name, Order by Index),

Disable Unit test,

Repeated Tests with @RepeatedTest annotation,

Parameterized tests with @Parameterized annotation

@ValueSource,

@MethodSource,

@CsvSource,

@CsvFileSource

Change Test Instance lifecycle with @TestInstance (PER_CLASS, PER_METHOD)

Learn to Mock objects with Mockito’s @Mock annotation,

Learn to user Mockito’s argument matches,

Mockito method stubbing,

Mockito Exception stubbing,

Verify method call,

Call Real Method,

Do nothing when a method is called,

Write integration tests for Spring Boot applications,

and more…