Project 5

Kevin Nilson

http://www.smccd.net/accounts/nilsonk/

Abstract

CS 381 Project 5, Java Programming I, Fall 06


1. Assignment

Due - September 29

Write Unit Tests For the Code used in Project 4.

  • Your Java Classes should use the package edu.smccd.cis381.fall2006.project4 Yes this is correct it should use project4 not project5 in the package. This will allow you to test protected methods.

  • For examples you can look in the forum at the JUnit Test Cases I used to grade past projects. You can also look to the JUnit website for help and examples.

I expect 4 classes for this assignment. Each class should extend junit.framework.TestCase

  • CashRegisterUnitTest

  • MoneyUnitTest

  • StoreItemUnitTest

  • ReceiptUnitTest

Please review "How to Turn in Assignments" for information about how to submit and other requirements.

2. Grading

  • You will be graded on how well your unit tests are written. Make sure you test boundry conditions such as null or out or range inputs.