CS U370 Assignment #4 Section: Clinger Assigned: Tuesday, 27 January 2009 Due: Friday, 6 February 2009 (Note: new due date!) The purpose of this assignment is: * To construct black-box tests from a formal specification. * To emphasize the distinction between clients and implementors. * To illustrate some of the problems that arise when modules are written by separate teams of programmers. Working in teams of two students, you will write a black-box test program for the Dependency ADT as specified in assignment #2. Collaboration between students who are not on the same team is forbidden for this assignment. Your team is responsible for keeping its code hidden from all other students. Turn in your work on this assignment before 1 pm on the due date by doing the following two things: 1. Turn in a paper copy of a written memo that conveys the following information: A. The names of the students on your team. B. The implementations you were assigned to test. C. For each implementation you were assigned to test, list the bugs that your black-box tests discovered in that implementation. 2. Send electronic mail to: will@ccs.neu.edu with subject CSU370 assignment 4 and a body that consists of nothing but your TestDependency.java file. That file should begin with a block comment that lists 1. All of your names, as you want the instructor to write them. 2. All of your email addresses. 3. Any remarks you wish to make to the instructor. Part of your grade will depend on the quality of your written memo, part will depend upon how well your black-box tests find bugs, and part will depend upon the correctness of your code, the quality of its tests, and its readability (including comments and indentation). As always, part of your grade will depend on how well you follow the procedure above for submitting your work. Late assignments may be discounted, and very late assignments may be discarded. -------------------------------------------------- Your assignment is to write the code for a single file, TestDependency.java, that implements a public static void main(String[]) method that, when called with any array of strings, performs black-box testing of the Dependency ADT specified in assignment #2. You will be notified by email of the implementations you have been assigned to test. --------------------------------------------------