Lecture overview -- Keyboard shortcut: 'u'  Previous page: Example of Equivalence Partitioning (2) -- Keyboard shortcut: 'p'  Next page: Unit Test of Object-oriented Programs [Section] -- 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 18 : 35
Object-oriented Programming in C#
Test of Object-oriented Programs
Regression testing

The purpose of regression test is to find regression errors

A regression error is an error in a previously correct program, which recently has been modified

A regression error is an error which not used to be there

  • After modification of part P in a program Q

    • Test that the part P works correctly

    • Test that the overall program Q has not been affected by the modification

  • Execution of regression test

    • Very time consuming if it is left as a manual activity

    • Automation is crucial

      • Re-run all tests upon each modification   and/or

      • Re-run all test every night