JUnit Group1 Readme

All JUnit source is located in /src
NOTE: this is not in the Java package directory hierarchy, all files are in
/src for easier readability

The Test Suite for Group 1 is located in Group1Tests.java

The individual tests are located as follows:

Two black-box tests are in cs327.musicbox.model.HostTest

The source code shows the two individual tests and their descriptions

The white-box tests are in cs327.musicbox.controller.MailUtilTest
and cs327.musicbox.controller.ProcessCreateEventActionTest

Although there are a few methods in each of these files, they are really
testing only 1 method each. Each test method is a test through a different
path as required for white-box testing. Thus, these two files serve as
the two white-box tests required for the homework.

The source code for the classes being tested are also contained in this directory
under the same package name. This will help you verify the source is being
tested in white-box or black-box style.

------------------

Running the tests:

The simplest way to run these tests is to checkout the MusicBox CVS module
per the instructions at the top-level README of this homework.

Once the module is checked out, go into the build directory and type:
'ant junit1' which will display the overview results.

Detailed results are stored in log files under the build/test directory.

NOTE: It is possible to separately compile the HostTest if you'd like since
the Host class is a plain Java object. However, the ProcessCreateEventAction
class extends J2EE classes and Struts classes, so you would need the struts
and j2ee libraries to compile. For this reason, we highly recommend just using
our CVS repository build mechanism rather than trying to set your CLASSPATH
on your own. The source is provided here as a simple way to view the test
cases and tested classes.