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

Black box testing uses the interface of a program unit to derive test cases

The aim of black box testing is to demonstrate that the program unit produces correct output on suitable input - relative to the functional requirements


  • Wish list of black box testing

    • Locate functional errors

      • Do we get the expected result on given inputs to a method?

    • Locate interface errors

      • Are data passed correctly to and from methods?

    • Locate efficiency errors

      • Is the method fast enough?