CpSc372
Introduction to Software
Engineering
Assignment 5
Unit Testing
Goal: Gain experience in selecting, implementing, and analyzing tests.
Description: Testing beginning with the smallest possible units results in higher quality of the completed product. Developing and executing these tests is a time sink for developers. Semi-automated test tools assist the developer. The JUnit tool provides the means for rapid development and execution of tests.
Procedure:
java junit.swingui.TestRunner SimpleTest (or other test class name)
Turn-in: The code that has been annotated with OCL constraints, the test classes you write or expand. Each test should have a comment in its code that explains why this particular test was selected for execution. Also include an analysis of suspected problems with the code.
Date change At the request of several students I am extending the dealine for this project to 4pm Friday October 24th. I hope you find this time useful.
Due: 4 pm Wednesday October 22th via email
Points 3 points
Team: 2 person team assignment
Evaluation: Comprehensiveness of test coverage, clarity of justification for test selection.