Algorithms and OOD (CSC 207 2014S) : Outlines

Outline 04: Unit Testing

Held: Friday, 24 January 2014

Back to Outline 03 - An Overview of Java. On to Outline 05 - Classes and Objects.


We begin to explore the process of unit testing, focusing on the JUnit framework.

Related Pages



A Brief Introduction to Unit Testing

An Example: Testing Exponentiation

What tests would you write for a function that computes x^n, where x and n are integers?

Test-Driven Development

Lab: Unit Testing

Do the lab.

Be prepared to reflect.

Copyright (c) 2013-14 Samuel A. Rebelsky.

Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.