To wersja testowa nowego serwisu infoShare Academy — wyświetlane treści i oferta nie są wiążące ani kompletne

Testing

JUnit for advanced users

Advanced JUnit 5 is a next-generation framework for creating automated unit tests in Java, offering features such as parameterized tests, dependency injection, full Java 8 support, and a modern API that makes it easier than ever to extend the framework and adapt it to project needs.

Who it's for

Ideal for teams that…

1 Anyone who wants to gain or deepen their knowledge of unit testing, JUnit 5, Mockito 2, and best practices in writing unit tests.
Outcomes after the program

Software testing and quality — automation and QA methodologies.

How to perform a complete process from reading data, through transformations, to delivering results

Deep understanding of JUnit 5 and its features

How to use Mockito for mocking dependencies

How to write clean and readable assertions using AssertJ

Advanced JUnit 5 features: parameterized tests, nested and repeated tests, extension model

Integration with Spring Boot, CI/CD pipelines, and test reporting

Best practices for testing databases, APIs, and services using tools like WireMock and TestContainers

Migration from JUnit 4 to JUnit 5

Program

What we actually do

  • · Unit Testing Theory Motivation for writing unit tests Principles of writing good tests Best practices and common mistakes (recurring throughout the training) Three main tools: JUnit 5, Mockito, AssertJ Recap and deep dive into popular tool combinations for unit testing in Java
  • · JUnit Architecture Introduction Connecting JUnit to the project Mockito: proper usage, less common features useful in daily work AssertJ: the most readable assertion library in Java
  • · JUnit 5 – Advanced Topics Assumptions Test lifecycle overview Repeated and nested tests – use cases Parameterized tests – different types Working with files Method injection – introduction to Extension Model Extension Model deep dive Built-in extensions Writing custom extensions Sharing reusable code between tests via extensions
  • · JUnit in Real Life Configuring JUnit 5 with Maven/Gradle Test execution optimization Report generation and CI/CD integration Migrating from JUnit 4 to JUnit 5
  • · Spring Boot Testing Support Differences between Spring Boot context tests and typical unit tests When to use a simple test vs full Spring Boot context @SpringBootTest annotation Test configuration and test properties Bean mocks Tests with running server MockMvc Slice tests
  • · Database Integration Testing Providing a database for tests Unit testing database interactions When to use unit vs integration tests Testing transactional code Spring Security integration
  • · Service Integration Testing WireMock TestWebClient vs TestRestTemplate WireMock integration tests TestContainers – use cases and advantages Contract testing – demo
  • · Recap and Final Project
Every module is adapted to your stack and context. The above is a starting point — not a fixed agenda.
How we work

From brief to retro in 30 days.

01

Brief & diagnosis

A call with the team lead + a short survey for participants. We define goals, gap and context.

02

Program customization

We adapt modules, case studies and code examples to your stack. Approval in 5 days.

03

Workshop

Trainer-led sessions, hands-on, code review. Mentor available between sessions too.

04

Retro + report

Outcome report for the team and lead. 30 days of consulting included.

Inquiry

Send a brief. We'll reply within 1 day.

After a short brief we'll prepare a program and a quote. No obligations — it's just a starting point.

Quote within 48h of the brief
First session within 30 days
Pilot before the full decision
VAT invoice, payment in instalments possible

How we handle your data

We process your business data (name, work e-mail, phone number, company, job title) in order to handle your corporate training inquiry and prepare an offer. The data controller is infoShare Academy Sp. z o.o., Al. Grunwaldzka 472B, 80-309 Gdańsk. Providing the data is voluntary but necessary to receive a response. You have the right to access, rectify, erase or restrict the processing of your data and to object to it. Full information is available in our data processing notice.

Optional marketing consents

The controller of your personal data is infoShare Academy sp. z o.o. The rules for processing personal data are set out in the Privacy Policy and the Data Processing Notice.