/hands-on-mocking-with-mockito

:open_hands: Hands-On Mocking With Mockito Online Course

Primary LanguageJavaMIT LicenseMIT

Mockito Course

Hands-On Mocking With Mockito Online Course

Build & Test Maven Project

Introduction

Build your Java testing success on top of a solid foundation.

With this right-sized online course you get a practical introduction to Mockito and learn about all its features.

Further Resources and Links

Local Project Setup

Mandatory requirements:

  • Java 11 (JDK flavour (OpenJDK/Azul/Oracle) does not matter). For the correct Java version setup I can recommend JEnv (Mac/Linux) and the Maven Toolchains Plugin (Windows)
$ java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

Next, run all tests with:

./mvnw test (Linux/Mac)
mvnw.cmd test (Windows)