Lecture overview -- Keyboard shortcut: 'u'  Previous page: White Box Testing [Section] -- Keyboard shortcut: 'p'  Next page: Basis Path 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 8 : 35
Object-oriented Programming in C#
Test of Object-oriented Programs
White box testing

White box testing uses the control structures of a program unit to derive test cases

The aim of white box testing is to guarantee that all commands and expressions in a given program are executed at least once

 

  • Wish list to white box testing:

    • All independent paths of a program unit has been executed at least once

    • All logical branches have been exercised

    • All loops and datastructures have been exercised at their boundaries

  • Software Engineering - A Practitioner's Approach: Roger S. Pressman, McGraw-Hill, 1992