JUnit tutorial

This tutorial will give you a brief introduction to JUnit. You will be able to use what you learn in this tutorial for Assignment 1: Exploratory and Automated Testing. You can find the preliminary tutorial slides here: Tutorial 1.

Preparation

Before the tutorial starts, you can already clone the project’s git repository to your system and try some of the installation steps in the read.me file.

The source code can be found here.

Writing tests

Here are some resources that will help you to familiarize yourself with JUnit:

Sample code

Any sample code used during the tutorial will be presented here, after the tutorial.