Video description
Writing great unit tests distinguishes good programmers from great programmers. In this course, you will learn how to write great unit tests with Mockito and JUnit. You take 12 steps with JUnit and 18 steps with Mockito into unit testing proficiency.
What You Will Learn
- Use Mockito to write great unit tests
- Understand the basics of unit testing
- Understand how to use JUnit and Mockito together
Audience
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.
About The Author
In28Minutes Official: Ranga Karanam is a seasoned technologist and architect with over two decades of expertise in programming, design, and architecture. He founded in28Minutes with the goal of helping students master cutting-edge cloud-native technologies such as AWS, Azure, Google Cloud, Docker, and Kubernetes. With 15 years of experience in Java programming and design, Ranga has collaborated with top banking clients worldwide.
His passion for creating hands-on courses with real-world projects motivated him to develop the Step-By-Step series of courses that follow a problem-solution-based approach, with practical and real-world application examples.
Ranga and his team at in28Minutes specialize in Java and related frameworks such as Spring, Spring Boot, Spring MVC, Struts, and Hibernate. They are committed to equipping learners with the skills and knowledge necessary to succeed in today’s rapidly evolving technology landscape.
Table of contents
- Chapter 1 : Introduction
-
Chapter 2 : Unit Testing with Junit
- JUnit Step 1: Why is Unit Testing Important?
- JUnit Step 2: 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
- Chapter 3 : Getting Ready for Mockito
- Chapter 4 : Need For Mockito
- Chapter 5 : Mockito Basics
- Chapter 6 : Mockito Advanced
- Chapter 7 : Powermock with Mockito
Product information
- Title: Mockito Tutorial: Learn mocking with 25 Junit Examples
- Author(s):
- Release date: February 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789135039
You might also like
video
Master Java Unit Testing with Spring Boot and Mockito
Spring Boot is the most popular framework to develop RESTful services. It has awesome unit testing …
video
Learn Java Unit Testing with JUnit 5 in 20 Steps
JUnit is a unit testing framework for the Java programming language. JUnit has been important in …
video
Apache Maven: Beginner to Guru
Take your Java application development skills to the next level by mastering Apache Maven concepts About …
video
Java SE 17 Developer (1Z0-829)
21+ Hours of Video Instruction An intensive and guided video course to learn and practice while …