A1b Guides¶
These guides support Assignment 1b. Read them as you work through the assignment.
Test-Driven Development¶
| Guide | When to Read |
|---|---|
| Test-Driven Development | Before starting — understand the TDD philosophy |
| Writing JUnit 5 Tests | Writing your test classes |
Testing Concepts¶
| Guide | When to Read |
|---|---|
| The equals and hashCode Contract | Testing StoreItem and StoreBulkItem equality |
| Introduction to Unit Testing | Review — unit testing fundamentals |
Code Quality¶
| Guide | When to Read |
|---|---|
| Linters and Code Quality | Keeping your test code clean |
| Checkstyle Rules Reference | Fixing Checkstyle violations |
| IntelliJ Inspections Reference | Fixing IntelliJ warnings |
References¶
This section consolidates references from all guides linked above.
Primary Texts:
- Beck, K. (2002). Test Driven Development: By Example. Addison-Wesley.
- Bloch, J. (2018). Effective Java (3rd ed.). Addison-Wesley.
- Horstmann, C. S. (2022). Core Java, Volume I: Fundamentals (12th ed.). Oracle Press.
Language Documentation:
- Oracle JDK 25 Documentation — Official Java SE reference
- Oracle JDK 25: Object.equals() — equals contract
- Oracle JDK 25: Object.hashCode() — hashCode contract
Testing Frameworks:
- JUnit 5 User Guide — Official JUnit 5 documentation
- JUnit 5 Assertions — Assertion methods reference
Style Guides and Linting:
- Google Java Style Guide — Industry-standard style guide
- Checkstyle Documentation — Official Checkstyle documentation
Tooling:
- JetBrains IntelliJ IDEA Documentation — Official IDE reference
This page is part of TCSS 305 Programming Practicum, School of Engineering and Technology, University of Washington Tacoma.