Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying JUnit and Mockito Unit Testing for Java Developers
  • Table Of Contents Toc
JUnit and Mockito Unit Testing for Java Developers

JUnit and Mockito Unit Testing for Java Developers

By : Matthew Speake
close
close
JUnit and Mockito Unit Testing for Java Developers

JUnit and Mockito Unit Testing for Java Developers

By: Matthew Speake

Overview of this book

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-Java-Developers
Table of Contents (6 chapters)
close
close
You're currently viewing a free sample. Access the full title and Packt library for free now with a free trial.
Chapter: 1
Introduction
Icon This video is locked
Icon
Icon
0:00
2.0x
1.5x
1.25x
1.0x
0.5x
caption settings
caption off
English
Icon Icon
ShowHide Transcripts Icon
Visually different images
CONTINUE WATCHING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
JUnit and Mockito Unit Testing for Java Developers
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon