CSC 309 Milestone 5
Completed Design, Implementation, and Testing
Final Presentation
Design and Implementation:
- Project design and implementation completed, per the specs and any released SCOs.
- Completed design documentation, per the design/implementation conventions.
Testing:
- For each team member, write class test plans for two more model or process classes, in addition to the two classes for which tests were written in Milestone 4. This means each team member will have a total of four class test plans by the delivery of the final project. Note: if one or more team members has fewer than four classes, we will adjust deliverable requirements accordingly.
- For each team member, unit tests for four more model or process methods, in addition to the eight methods for which tests were written in Milestone 4. This means each team member will have a total of twelve unit tests by the delivery of the final project.
- Perform code reviews.
- Code reviews involve the inspection by colleagues of one another's code.
- Each team member will review the code of another fellow team member. It can be helpful if the code being reviewed is related to that being done by the reviewer, but that is not required.
- The review is performed for each class, and for each method within each class.
- The following are the specific standards that must be met for each class:
- follows the 309 design and implementation conventions
- compiles and executes properly, where "properly" means it uses actual model data as described above
- The following are the specific standards that must be met for each method:
- follows the 309 design and implementation conventions, in particular the javadoc commenting and 50-line rule
- for the six methods chosen by the team member, the pre- and postconditions are provided and compile with the JML checker
- The code review report takes the following form:
Class X: Review Remarkswhere Review Remarks are either the description "Meets all standards" or an itemized description of the standards that are not met.
Method X.m1: Review Remarks. . .Method X.mn: Review Remarks
Class Y: Review Remarks
Method Y.m1: Review Remarks. . .Method Y.mn: Review Remarks
- For each team member, write one or more acceptance test plans containing twelve significant test cases. See the acceptance test handout for details on the format of an acceptance test plan.
Administration:
- Updated HOW-TO-RUN.html
- Updated HOW-TO-RUN-TESTS.html.
- Updated work-breakdown.html that defines clearly the duties for each team member, in all aspects of the project
Presentation:
- For the week 10 lab, each team will present project results
- Organize your presentations along the following lines:
- Focus the discussion on a demonstration of the most interesting features of your product.
- Also discuss any particularly noteworthy aspects of project design, implementation, and testing.
- The Week 10 presentation schedule is as follows:
Day Time Team Mon 3:10 - 3:34 Token CSC 3:36 - 4:00 Team 1 Wed 3:10 - 3:34 Team 0 3:36 - 4:00 DJ Cars Fri 3:10 - 3:34 FBRD 3:36 - 4:00 Node
Code-Level Testing:
To recap from previous milestones, the specific deliverables for code testing are the following:
As noted in previous milestone writeups, the class and unit testing work of each team member should ideally be for the classes assigned to that member in the team's work breakdown. In some cases, it may be appropriate or necessary to have a team member write specifications and tests for the work designed and implemented by another member. We will continue to clarify the specifics of such cases in our lab meetings.
The requirements of four classes and twelve unit-testing methods per team member may be reduced in some cases, for example when the specification and testing of some methods is particularly complex. Alternatively, there can be double testing, where unit tests are written independently by two separate team members. Again, we will clarify details in our lab meetings.
Code Coverage:
Each team member is responsible for 100% branch coverage on the twelve methods for which the team member writes unit tests. Note well that this does not mean 100% coverage for the entire project, only on the methods for which unit tests are written.
The coverage tool you use must be stated in HOW-TO-RUN-TESTS.
Acceptance Testing:
The specific deliverables for acceptance testing are the following:
An "area of user-level functionality" is defined as a cohesive collection of user commands that perform some particular task. These trace all the way back the requirements, where user-level functionality was originally organized into coherent parts of the HCI. The most typical areas of functionality in 309 projects are menus, tool bars, or other well-delineated components of the UI.
Note that the assignment of twelve acceptance test cases per team member is an entirely practical matter, given the limited time available in a class. For a production-quality project, the number of test cases would be based on testing principles comparable to those for unit testing, including the systematic testing of input constraints, and ranges of user input data.
For 309, your limited form of acceptance testing will be evaluated in terms of how "significant" your test cases are, where criteria for significance are:
Testing Coverage:
You must achieve 100% branch coverage for all unit tested code. Methods for
which you do not write unit tests, if any, are not included in the testing
coverage requirement.