Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Introduction to Java unit testing with JUnit5 framework

via Udemy

This course may be unavailable.

Overview

Hands-on experience with JUnit5 for absolute beginners

What you'll learn:
  • JUnit5 framework basics
  • How to create unit tests for a given class
  • How to run unit tests
  • How to interpret results of unit tests
  • How to make changes in the class code and/or unit tests to fix failing tests
  • How to find out whether all methods are covered by unit tests

In this course you will be guided through the basics of Java unit testing using JUnit5 framework. You do not need to have any prior JUnit experience or knowledge to take this course.

We will define a basic Java class and for eaach method of this class we will create unit tests, so we could be sure everything works as it should.

The most important topics covered in this course includes

  • Explanation why we should include unit tests in each our application

  • How to define a test class, where all unit tests will reside

  • Important annotations used in test classes

  • How to interprete unit tests results

  • How to fix failed tests

I hope you will really enjoy opening for yourself a new entertaining world of unit testing on Java!

Taught by

Dmitrijs Finaskins

Reviews

4.3 rating at Udemy based on 34 ratings

Start your review of Introduction to Java unit testing with JUnit5 framework

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.