CpSc 372

Assignment 5

Unit Testing

 

Description:

Developers are responsible for doing the first level of testing. We discussed the use of a test framework like Junit and we also looked at some standalone test code.

Steps:

  1. Download the test plan found here.
  2. Download the Java class definition found here.
  3. Download the Junit implementation found at www.junit.org.
  4. Download the test software found here and here.
  5. Study both the implementations and select one to use.
  6. Write test cases for the Java class definition.
  7. Submit the test cases and the results of executing them.

This is a two-person team assignment. Hard copy is due Wednesday, October 24, 2001 by 4 pm in the department office.

Grading will be based on

  1. Completeness
  2. Correctness
  3. Any value added beyond the basic assignment