Lecture overview -- Keyboard shortcut: 'u'  Previous page: Test Scaffolding -- Keyboard shortcut: 'p'  Next page: Test of Object-oriented programs -- 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 31 : 35
Object-oriented Programming in C#
Test of Object-oriented Programs
The Background and Context of Unit Testing

Unit testing was was popularized for Java by tool called JUnit

Kent Beck and Erich Gamma are the originators of unit testing

  • JUnit

    • Java classes and interfaces for organization and execution of test methods

    • Explicit or implicit activation of test methods

    • More recently being based on annotations in Java, like the attributes in C# as supported by NUnit.

Unit testing is a cornerstone in Extreme Programming