Practical Java Unit Testing with JUnit 5

Course Description

According to statistics, nearly 80% of all Java developers write unit tests with JUnit, and my developing practice proves it. Unit testing is so important because it increases the quality of your code. It is a basic skill required by most employees, so for any Java Developer professional career, you have to master JUnit. You'll only learn the practical aspects of unit testing with JUnit 5 – the latest version of the most popular Java unit testing framework.

I’ll introduce only the essential theory behind unit testing, and then dive straight into the code to get you started as quickly as possible. I’ll use an example of a simple, yet practical Java project to show you a variety of unit test types. You'll also learn the best practices and coding standards for unit tests based on my developing experience.

Course Topics

Certificate of Completion

  • Installing JUnit5
  • Naming conventions
  • Exceptions testing
  • Multiple assertions
  • Test NULL
  • Test Decorators
  • Testing arrays
  • Test setup (@BeforeEach etc.)
  • Parameterized tests
  • Repeated tests
  • Performance testing
  • Assumptions
  • Nested tests
Junit5 certificate
Certificate

Certificate of completion

In Portfolios