Growing Object-Oriented Software Guided by Tests
Example Code
The Worked Example (Auction Sniper)
The code for the long Auction Sniper worked example, which makes up Part III of the book, is available in a number of programming languages:
Examples from the Sustainable TDD
and Advanced
Topics
Parts
Smaller code examples from other chapters,
including Test Diagnostics
, Test Flexibility
, Testing
Persistence
, Testing Multithreaded Code
and Testing
Asynchronous Code
:
A Maybe Type
A Maybe type, as mentioned in the Flexibility chapter.Tools
You'll need Git to check out any of the code examples. The free version of IntelliJ comes with Git support as part of the standard install.
To explore the Java code you can use the Eclipse and/or IntelliJ IDEs.