Book
レガシーコード改善ガイド
Michael C. Feathers
Summary
テストのないコードをレガシーコードと定義し、接合部を用いて依存関係を断ち切り 安全にテストを導入するための具体的技法を体系化した実践書。
Target Readers
- レガシーシステムを保守するエンジニア
- 技術的負債を返済したい開発チーム
Tags
Colophon
- Publisher
- 翔泳社
- ISBN
- 978-4798116839
- Published
- Jul 2009
- List price
- ¥4,620incl. taxMay differ from the actual selling price on Amazon
Get this book
* The link above is an advertisement via Amazon Associates.Related Books
Prerequisites
- Recommended
リファクタリング
Martin Fowler
Reason: Once safe refactoring moves are in hand, you take on the hardest case: legacy code without tests. You first find seams to break dependencies, cover them with tests as a safety net, and only then improve the structure.
Sources
- Related
Unit Testing Principles, Practices, and Patterns
Vladimir Khorikov
Reason: After grasping the principles of good tests, you apply them to legacy code that resists testing. You introduce seams to break dependencies and pin current behavior with characterization tests before changing it safely.
- Related
Head First Design Patterns
Eric Freeman, Elisabeth Robson
Reason: When you can read the structure of existing code through the lens of patterns, you can move on to building a safe foothold in untested legacy code—finding seams, covering them with tests, and improving the design from there.