SZT-01

Software testing on Java platform

Unit testing using JUnit 5, Hamcrest, AssertJ, Mockito
Form of participation
Form of training
Length of training
  • 3 day (3×8 Lessons)
  • daily 9:00 - 17:00
Available languages
  • Hungarian
Dates

Training price

from 
220 200 Ft
+ VAT/person
Please choose the date and form of participation!
Would you like a custom made solution, group training on this topic?
Find out more about our customised training services here.

Trainer recommendation

Viczián István

Viczián István trainer

Our Java portfolio is designed to cater to both beginner and experienced programmers, covering all areas of Java development—from Java SE to Java EE standards and the Spring Framework. Our training courses are hands-on and case-study-oriented, meaning we always start with a real-world problem and work toward finding the best solution. In most cases, we follow a complete development project where new requirements continuously emerge. Our training programs evolve based on participant feedback, unique requirements, and the release of new versions of tools.

Description

The aim of the training is to introduce the basic concepts and methods of unit testing, as well as the most common Java-based tools such as JUnit, Hamcrest, AssertJ, Mockito, Jacoco. The training includes complex hands-on exercises with IntelliJ IDEA development tool, Maven build tool.

Outline

  • Testing methodologies, basic concepts
  • Unit testing: JUnit, test fixture, assert
  • Given, when, then
  • Run with Maven
  • Test case lifecycle
  • Names
  • Exception handling and timeout testing
  • Nesting
  • Using tags and metaannotations
  • Repeating test cases
  • Parameterized tests
  • Dynamic tests
  • TempDirectory extension
  • Using JUnit 4 and 5 together
  • Hamcrest matchers
  • Implementing your own Hamcrest matcher
  • AssertJ
  • AssertJ extensibility
  • Test double, Mockito, argument matcher, argument captor, verify, dependency injection, stubbing
  • Test coverage
Outline (PDF)

Prerequisites

 

  • Knowledge of the following topics is expected: secure development tool management, packages, classes, interfaces, exception handling.
  • Prerequisite: completion of Java SE Fundamentals (JAVA-BSC) and Java SE Advanced (JAVA-ADV) or practical knowledge of the material covered in those courses.
  • The course material is in English, a basic knowledge of English at document reading level is required.