Description
The main goal of this course is to provide participants with advanced knowledge and skills in unit testing using JUnit and mock testing using Mockito. Attendees will learn how to write effective tests and use mocks to thoroughly test communication between modules.
Audience
This course is intended for advanced programmers and developers who already have Java programming experience and are familiar with Jakarta EE and Spring. It is suitable for those who want to improve their unit testing and mock testing skills.
Methods
The course is offered through instructor-led lessons. Participants will receive practical exercises and assignments to practice their skills. The emphasis is on hands-on learning, where participants are actively writing code and solving programming issues.
Contents
Introduction to the concept of mocks and why they are important for integration and unit testing.
Using Mockito in combination with JUnit to create mock objects.
Pragmatic approaches to unit testing.
The AAA (Arrange - Act - Assert) pattern for structuring tests.
The FIRST properties of good tests.
The right BICEP for effective testing.
The CORRECT test principle.
Red-Green Refactor: Test Driven Development (TDD) and Design
Certification
Participation certificate: participants receive a certificate that they have completed this training at the end of the training.