CSC444'09F Assignment 2

Due November 30 at Start of Class

 

The purpose of this assignment is for you to begin to understand the role of unit testing in prorgam development, one of the most important aspects of Agile Methods.

A program that solves a release planning problem has been written for you. It was the solution to an assignment from CSC407 (Software Architecture and Design) given in 2002. The problem statement, an OO analysis and design, and a Java program that solves the problem are given below.

Re-write the program adding as complete a suite of unit tests as you possibly can using the JUnit unit testing framework. Use the Ant buildfile as a means of running the tests.

Part of the assignment is for you to fully understand the solution given in the OO terms presented. Another part of the assignment is for you to perfrom research on your own on Java, the JUnit unit testing framework, and on Ant, to download them on your own, get them working, and use them appropriately.

Hand in the modified Ant file and source code containing all unit tests. You will be marked based on your use of the technology and on the completeness of your tests.