Lecture overview -- Keyboard shortcut: 'u'  Previous page: Overview of Program Testing -- Keyboard shortcut: 'p'  Next page: Test Utopia -- 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 4 : 35
Object-oriented Programming in C#
Test of Object-oriented Programs
Testability

Testability refers to the software qualities that affect our ability to reveal errors

  • Observability

    • The outcome of a test execution must be approachable and visible

  • Controllability

    • The program input and state must be controllable prior to test execution

  • Decomposability

    • A program must be broken into parts which can be tested individually

  • Understandability

    • The specification of the program - what is the correct program behaviour - must be available

Design for Testability