Lecture overview -- Keyboard shortcut: 'u'  Previous page: Unit Test of Object-oriented Programs [Section] -- Keyboard shortcut: 'p'  Next page: Unit 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 20 : 35
Object-oriented Programming in C#
Test of Object-oriented Programs
Test Units

Which kind of program units are tested?

What is the smallest testing unit?

The program units for which there exists at least one test case

  • Possible units

    • Packages (namespaces, assemblies)

    • Types (classes, structs)

    • Members of types: Procedures, functions and methods

    • Single commands and expressions

In an object-oriented program, the test units are the individual, public operations in each class