This assignment is based on a tutorial and exercise from NCSU. Original link is here.
You may work in pairs or alone on this assignment.
Due date: Turn in files on Friday, Feb. 18, by 3pm.
For this exercise we will be using the CoffeeMaker project developed at NCSU. Download the CoffeeMaker project
from here. Unzip the CoffeeMaker project to your Eclipse workspace directory,
then choose the Import command from the File menu. This should create a new project in your Workspace. (Note: the
path to the junit.tar library is probably wrong. You may need to make this point to the junit.tar in your Eclipse
plugins folder.)
We all know that most computer scientists love caffeine, so the Computer Science department is looking to put a
coffee kiosk in the new building. The coffee kiosk must be able to make coffee for students to purchase. A full
set of User Stories can be found here. User stories
are a requirements technique commonly used in Extreme Programming; if you have questions about what these mean,
contact the instructor or TA.
The CoffeeMaker code is complete; however, we need you to create and run acceptance tests on the last three
functions of the CoffeeMaker. These functions are: 1) Delete Inventory, 2) Check Inventory, and 3) Purchase Coffee.
[We're not doing acceptance testing
with the tool NCSU is using, so there is nothing for you to do with these functions.]
What we want you to do with this code:
What and how to submit: Using the ITC Toolkit (from link on the class home page), submit the document
file and also the Zip file(s) separately.
Demonstration: We'll announce how you'll do demonstrations shortly!