First steps for TDD learners — part one of a three-part exercise series built around Caelum/Alura's PM-71 course.
The repository ships a small auction domain with intentionally incomplete or flawed behavior. The exercise: read the tests, spot what's missing, fork it, and make it right.
| Type | Role |
|---|---|
Auction, Bid, User |
The auction domain model. |
Auctioneer |
Evaluates an auction (highest / lowest / average bid). |
BidFilter |
Filters bids. |
Tests use a AuctionBuilder fixture and a custom AuctionMatcher.
Implement Auctioneer so it tracks the highest and lowest bids, then add the
average; write unit tests for each. The starting tags walk through the steps.
mvn testPart two: TestingBehaviorThroughMocks. Part three: TestingWebApplicationWithSelenium.