The Refactoring Pyramid
summary
The talk presents the “refactoring pyramid,” a counterpart to the test pyramid that links test coverage levels to safe refactoring scope. It explains how to use test-covered layers (modules, packages, classes) as a mirror to guide refactorings from low-level changes (smaller methods, classes, extracted interfaces) up to higher-level abstractions (introducing design patterns). The concept is demonstrated by refactoring code from a single class into the Interpreter pattern.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 5:00Refactoring pyramid theory
- 9:21Code refactoring demo
- 21:52Class and interface extraction
- 31:38Architecture and design patterns
- 37:21Theory meets practice
- 39:50Team refactoring adoption
- 43:23Q&A and summary
related talks
36mReversed Test Pyramid — Dealing with Legacy Code
48mBreaking free from the Test Pyramid
35mDemystifying the test pyramid
55mHow To Approach Refactoring
17mYet again an upside down test pyramid – what can we do about it?
01h 00mHow to Approach Refactoring
57mUnlocking The Awesome Power of Refactoring
46mRewrite Vs Refactor
