Lecture overview -- Keyboard shortcut: 'u'  Previous page: Program Testing in General [Section] -- Keyboard shortcut: 'p'  Next page: Overview of Program Testing -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 2 : 35
Object-oriented Programming in C#
Test of Object-oriented Programs
Introduction to Program Testing

Testing according to Glen Myers book "The art of Software Testing"

  • Program testing is the process of executing a program with the intent of finding errors

  • A good test is one that has a high probability of finding an error

  • Program testing cannot show the absence of errors

    • It can only show if errors are present

  • It is possible to write the tests before the program

    • Test driven development

Program testing is very resource and time consuming

It is not unusual to spend 40% of the total project efforts on testing