LIACS > Marcello M. Bonsangue >Testing Object Oriented Systems
Lecturers Marcello Bonsangue
Course number
Class number
Prerequisites Student MSc Computer Science
Language English
Hackaton 18 Dec 2017 from 9:00 to 17:00 in room Snellius 174
Schedule Fall 2017

September 11, 18, 25
October 2, 9, 16, 23, 30
November 6, 13, 20, 27
December 4

Lectures: 11:00-12:45, room Huygens 207 (except for the last lecture on 4 Dec that will be in  Snellius B01)


The course presents an introduction to the fundamentals of software testing, explaining the principle in testing and the basic test types. The main focus is on unit testing and object-orientation. Students are expected to read, understand and present research papers on testing object-oriented systems, and to design and program in teams (part of) a test environment for unit testing, in which a Java class can be tested in isolation. Each student is expected to write a short report about the results obtained. This report will be written in scientific paper format and, provided that the quality of the results is sufficient, we will encourage and help the authors to submit this paper to a scientific conference. .


Software testing is the process of executing a program with the intent of finding errors. Most of the defects in software are design errors, due not to the goodness of programmers, but because the complexity of software is becoming intractable. Testing is more than just debugging. Testing is not only used to locate defects and correct them. It is also used in validation and verification of software systems.

Due to the large diversity of testing methods and testing techniques, this course focuses on the fundamentals of testing object-oriented systems, with a particular focus on unit testing, in which a class can be tested in isolation.

The course consists of lectures, in-class assignements and a final programming work, where the students will be grouped in teams with the goal of to design and program a prototype test environment for an object oriented language.


P. Ammann and J. Offutt Introduction to software testing, Cambridge University Press, 2008. ISBN 978-0-521-88038-1

Schedule Lectures

Nun Date Topic Reading Remarks
1a 18 Sep Overview and motivation

What is testing? [AO08]:1


[AO08] P. Ammann and J. Offutt, Introduction to software testing, Cambridge University Press, 2008.


The final grade is a combination of grades for
(1) home assignments (40%)
(2) a critical attitude in class (10%) and
(3) a programming assignments (50%).