Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
JUnit and Mockito Unit Testing for Java Developers
JUnit and Mockito Unit Testing for Java Developers

JUnit and Mockito Unit Testing for Java Developers: Discover how to use JUnit to unit test Java applications

Arrow left icon
Profile Icon Matthew Speake
Arrow right icon
£7.99 £29.99
Video Oct 2020 2hrs 56mins 1st Edition
Video
£7.99 £29.99
Subscription
Free Trial
Renews at £16.99p/m
Arrow left icon
Profile Icon Matthew Speake
Arrow right icon
£7.99 £29.99
Video Oct 2020 2hrs 56mins 1st Edition
Video
£7.99 £29.99
Subscription
Free Trial
Renews at £16.99p/m
Video
£7.99 £29.99
Subscription
Free Trial
Renews at £16.99p/m

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • 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

Description

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

Who is this book for?

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.

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 23, 2020
Length: 2hrs 56mins
Edition : 1st
Language : English
ISBN-13 : 9781801078337
Vendor :
Oracle
Category :
Languages :
Tools :

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Oct 23, 2020
Length: 2hrs 56mins
Edition : 1st
Language : English
ISBN-13 : 9781801078337
Vendor :
Oracle
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£16.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
£169.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts
£234.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total £ 52.97 172.97 120.00 saved
Design Patterns and SOLID Principles with Java
£7.99 £105.99
JUnit and Mockito Unit Testing for Java Developers
£7.99 £29.99
The Complete Coding Interview Guide in Java
£36.99
Total £ 52.97 172.97 120.00 saved Stars icon
Banner background image

Table of Contents

6 Chapters
Introduction Chevron down icon Chevron up icon
Unit Testing Foundations Chevron down icon Chevron up icon
Creating a Java Project Using JUnit Chevron down icon Chevron up icon
Writing and Running Unit Tests with JUnit and IntelliJ IDEA Chevron down icon Chevron up icon
Using Testing with Mock Objects and Mockito Chevron down icon Chevron up icon
Looking at Hamcrest Assertions Library Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How can I download a video package for offline viewing? Chevron down icon Chevron up icon
  1. Login to your account at Packtpub.com.
  2. Click on "My Account" and then click on the "My Videos" tab to access your videos.
  3. Click on the "Download Now" link to start your video download.
How can I extract my video file? Chevron down icon Chevron up icon

All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.

How can I get help and support around my video package? Chevron down icon Chevron up icon

If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail customercare@packt.com with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.

  1. Video
  2. Format watched (HTML, MP4, streaming)
  3. Chapter or section that issue relates to (if relevant)
  4. System being played on
  5. Browser used (if relevant)
  6. Details of support
Why can’t I download my video package? Chevron down icon Chevron up icon

In the even that you are having issues downloading your video package then please follow these instructions:

  1. Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
  2. Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.