Exercise 3, Programming and Unit Testing

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

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.

Each exercise is scheduled twice in the schema, there's one session 10-12 and another 13-15. The sessions 10-12 are for those who find the topic hard, and want thorough explanations of the basics. The sessions 13-15 are for those who have already grasped the basics, and want more advanced exercises. It's fine to attend both sessions if you wish.