## Lesson — Extract repetitive cleanup patterns, such as directory

**Tags:** testing, dx

Extract repetitive cleanup patterns, such as directory removal with specific retry settings, into shared test utilities to eliminate magic numbers and enable global parameter tuning.
