Skip to Content
JUnit and Mockito Unit Testing for Java Developers
video

JUnit and Mockito Unit Testing for Java Developers

by Matt Speake
December 2022
2h 57m
English
Manning Publications
Closed Captioning available in English

Overview

Do you want to get hands-on demonstrations of JUnit and Mockito in action, in a simple no-fluff guide to how unit testing works?

Are you struggling to understand unit testing and would like a friendly guide to help you get it from the ground up?

Maybe you're a junior Java developer who is just starting out and you need a hands-on guide to JUnit and Mockito unit testing to get up and running quickly?

Or you might be an old hand at Java who has been out of practice and needs to level up your unit-testing skills for a new project?

Perhaps you've started a new job where JUnit and Mockito are used to test applications, and you need to get up to speed on the best practices. Or you're learning industry-standard tools to better place you ahead of the competition. Or you just want to ramp up your unit testing knowledge quickly in a no-fuss guide.

Then… this course is for you! It takes you straight from the beginning, and gets you up and running, then fully proficient at writing unit tests using JUnit, Mockito and Hamcrest. It unlocks the mechanics of how JUnit and Mockito work, so you are able to better test your Java projects with the frameworks and have fun doing so!


Distributed by Manning Publications

This course was created independently by Matt Speake and is distributed by Manning through our exclusive liveVideo platform.



About the Technology


About the Video


What's Inside
  • Write unit tests confidently using JUnit
  • Understand mocking and mock objects and how to test interactions with Mockito
  • Use Mockito to create test fixtures and stub methods by programmatic and annotation-driven test setup
  • Analyze production code to guide writing unit tests
  • Learn the JUnit Assertions API
  • Write assertions with Hamcrest, the popular assertions library shipped with JUnit


About the Reader
Basic knowledge of coding in Java

About the Author

Matt Speake is a professional Java software engineer and have been programming for more than 20 years, working everywhere from small startups to large investment banks.

He started JavaEasily in 2018 so he could produce courses focused on teaching Java technology to students all around the world.

Since then he has been busy creating the Java Easily website and publishing courses and articles on different aspects of Java.

Feel free to check out the JavaEasily YouTube channel and follow it on Facebook and Twitter.



Quotes
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

JUnit and Mockito Unit Testing for Java Developers

JUnit and Mockito Unit Testing for Java Developers

Matthew Speake

Publisher Resources

ISBN: 10000DIVC2022182Other