JUnit and Mockito Unit Testing for Java Developers

Are you looking for a simple, no-nonsense guide to learning how unit testing works? This video course is what you need. Complete with hands-on exercises and best practices, this guide will help you to understand JUnit and Mockito unit testing with ease.
The course starts with an introduction to unit testing and highlights the need and importance of its testing framework, JUnit. You’ll then understand the project structure and conventions by creating a Java project using JUnit. As you implement best practices for writing and running unit tests with JUnit and IntelliJ IDEA, you’ll discover how JUnit works. You’ll also write mock objects-based unit tests with Mockito for testing a simple layered architecture. Finally, you’ll learn to make more powerful assertions in your unit tests by harnessing the power of the Hamcrest assertions library that ships with JUnit.
By the end of this course, you’ll have developed the skills needed for writing better unit tests using JUnit, Mockito, and Hamcrest.
"All the resources and support files are available at https://github.com/PacktPublishing/JUnit-and-Mockito-Unit-Testing-for-J…

Type
video
Category
publication date
2020-10-23
what you will learn

Understand modern unit testing concepts and best practices
Find out how to run unit tests in the IDE
Analyze production code for writing quality unit tests
Study and implement JUnit s fail fast mechanism
Become familiar with Mockito and mock objects
Compose Hamcrest matchers to create readable assertions

duration
176
key features
Find out why JUnit is the best framework for writing unit tests * Get hands-on exercises of JUnit and Mockito in action * Get to grips with modern unit testing concepts and best practices
approach
This course offers a balance of theory and practical exercises to explain concepts in an easy-to-follow way. With the help of hands-on examples and simple language, this course makes learning unit testing and its tools a smooth and interesting action.
audience
Whether you are a Java developer or a tester who wants to write unit tests using JUnit, Mockito, and Hamcrest, this course is for you. A basic understanding of Java is necessary to get started with this course.
meta description
Uncover the mechanics of JUnit, Mockito, and Hamcrest to transform the way you test your Java projects
short description
From installation and project creation to writing tests with JUnit, Mockito, and Hamcrest, this course will cover all the important concepts that you need to get up and running with unit testing.
subtitle
Discover how to use JUnit to unit test Java applications
keywords
Unit testing, unit tests, Junit, Mockito, Hamcrest, API testing
Product ISBN
9781801078337