Session Details
Week 1, 
Session 3 — Thu Dec 3
Reading
- 
 Big Java, §2.8–2.10
- 
 First two pages of this intro to UML Class Diagrams
HW Due
- 
 HW 2
Topics
- 
 API documentation, Javadoc
- 
 Unit tests with JUnit
- 
 Object references
Resources
- 
 Slides
- 
 Moving from JUnit 3.8 to 4 (ignore if you don’t already know JUnit 3.8)
Outline
- 
 [10] Questions
- 
 [10] Javadocs
- 
 [15] Javadoc exercise (add comments to  MoreWordGames  in  JavadocsAndUnitTesting  project), then summary.
- 
 [5] Break
- 
 [15] Unit testing with JUnit. Examine  JUnitMoveTester  in  JavadocsAndUnitTesting  project.
- 
 [15] JUnit exercise: create and implement  MoreWordGamesTest  in  JavadocsAndUnitTesting  project.
- 
 [15] Object references, assignment, box and pointer diagrams
- 
 [20] Written exercise from HW 3 on object references:  ObjectReferenceExamples  in  JavadocsAndUnitTesting  project.
HW Assigned
- 
 HW 3