Exercise 3, Programming and Unit Testing

The tasks will be solved at the scheduled exercise, which will be recorded and published on this page. Exercises are not mandatory, but instead an opportunity to practice before starting working on assignments.

Each exercise is scheduled twice in the schema, both instances will have the same content. Please attend only one of them. The purpose of the duplication is that there will be fewer participants, which should encourage discussions and interactions.

This exercise covers lectures in module three and chapters six and seven in the textbook. You must have watched the lectures or read the textbook to understand the exercise, but you don't have to understand everything in detail before the exercise.

It has often been mentioned in course evaluations that it's difficult to get started writing tests, and that more testing tutorials are needed. Therefore, this exercise will be only about writing tests. There will probably be less discussions and more demonstrations than in previous exercises. The actual tasks that are solved are a selection of the exercises in chapter seven in the textbook.

Due to low attendance on previous exercises, this exercise will only be given once, the session that's scheduled live in Kista 28/4 13-15. The zoom session is cancelled. As a substitute, last year's recorded zoom exercises are available below.

First session of exercise three given 2021, https://youtu.be/VvtgfBV5y3A
Second session of exercise three given 2021, https://youtu.be/w9nEcNvr0Rc