'Y'

JUnit5

This course covers everything you need to know about JUnit5 (architecture and features), with examples and exercises to help participants practice everything they learned.
Code: JVA-067
Duration: 12 hours

Description

This course covers everything you need to know about JUnit5 (architecture and features), with examples and exercises to help participants practice everything they learned. During the course they will also have the opportunity to write their own applications applying the TDD principles and using JUnit5 - the most commonly included external library in Java projects.

JUnit is a unit testing framework for the Java programming language. It is important in test-driven development and part of a family of unit testing frameworks, collectively known as xUnit, originated with SUnit. It is linked as a JAR at compile-time.

Roadmap

Introducing JUnit 5
  • What is JUnit?
  • What is TDD?
  • TDD Benefits
  • Code Production Lifecycle
  • Isolate Incorrect Code
  • JUnit 4 Architecture
  • JUnit 5 Modules
  • JUnit Platform
  • JUnit Jupiter
  • JUnit Vintage

JUnit 5 vs. JUnit 4
  • Architecture
  • Supported Java Version
  • Annotations
  • Assertions
  • Assumptions
  • Code Coverage Tools
  • JUnit 5 IDE Support
  • Needed dependencies
  • @Test annotation
  • Test fixtures

Exercise
JUnit 5 New Features And Annotations
  • @DisplayName
  • @Disabled
  • @Nested
  • @Tag

Assertions
Assumptions
Dependency Injection in JUnit 5
Parametrized Tests
Dynamic Tests

Exercises
Integrating JUnit 5 with Mockito
  • SUT and DOC
  • Mock Objects
  • JUnit 5 Extensions
  • Use Cases for Mock Objects
  • Mockito dependency
  • Device mocking
Exercise

Objectives

Provide participants with the basic knowledge necessary for application development using JUnit5.

Target Audience

  • Developers who are new to unit testing
  • Developers having experience in JUnit 4 and who want to learn and use the new features of JUnit 5.
  • Testers who need to automate a part of their activity

Prerequisites

  • Basic knowledge of Java 8
  • Basic knowledge of the Apache Maven build tool


Trainer in Online
Oleksii Sirobaba Java Specialist
Oleksii has been working as a professional developer since 2012 on various software development projects, from embedded devices to financial platforms. In his current role he designs and implements a Managed File Transfer system project where he works with a full stack of technologies: C, Java and JavaScript.

His previous role involved embedded software development – the design and implementation of a WiFi router Firmware based on OpenWRT. The main techniques and tolls that he used were Linux embedded and networking. He has also worked on a Linux embedded software development project. Here he designed and implemented technical features and bug fixes working with networking technologies: WiFi driver injection, provisioning mechanism, kernel modules fixes as well as GNU GCC, Linux embedded and Networking.

After completing his Master’s degree in Computer Systems and Electronics he continued his studies on a PhD. Oleksii is an Oracle Certified Professional (Java SE8).
Schedule in Online Prices
Course is scheduled in: Online
28.04.2021 - 30.04.2021
Time: 09:00-13:00
City: Online
Duration: 12 hours
Language: English
Trainer
Oleksii Sirobaba
Java Specialist
-10% €240
€216
Register for the next course
+
Registering in advance ensures you have priority. We’ll notify you when we schedule the next course on this topic
28.04.2021 - 30.04.2021
Time: 09:00-13:00
City: Online
Duration: 12 hours
Language: English
Trainer
Oleksii Sirobaba
Java Specialist
-10% €240
€216
Register for the next course
+
Registering in advance ensures you have priority. We’ll notify you when we schedule the next course on this topic
Online €240
Bucharest €240
Krakow €240
Wroclaw €240

Invoices for the course will be issued in local currency. All fees above can change according to training location and delivery mode and are subject to change while scheduling. Price does not include VAT.

Courses you may be interested in:
JVA-011
16 hours
JVA-030
12 hours
JVA-059
12 hours

Sign up

Choose dates
First Name*
Last Name*
Company
Email*
Phone
Your Comment
Still have questions?
Connect with us
Thank you.
Your request has been received.