Further reading
- AssertJ documentation – read more about the various kinds of assertion matchers built into AssertJ, as well as details on how to create custom assertions here: https://assertj.github.io/doc/.
- Refactoring – Improving the Design of Existing Code, Martin Fowler (first edition), ISBN 9780201485677:
The bulk of our work in TDD is refactoring code, continuously providing a good-enough design to support our new features. This book contains excellent advice on how to approach refactoring in a disciplined, step-by-step way.
The first edition of the book uses Java for all its examples, so is more useful to us than the JavaScript-based second edition.
- Design Patterns – Elements of Reusable Object-Oriented Software, Gamma, Helm, Vlissides, Johnson, ISBN 9780201633610:
A landmark book that cataloged common combinations of classes that occur in object-oriented software. Earlier in the chapter, we used a controller class. This...