When changing legacy code, the recommended approach in Disciplined Agile is to "Add a test first, then change it." This practice is aligned with Test-Driven Development (TDD) and ensures that any modifications made to the legacy code do not introduce new defects. By writing tests before making changes, you establish a safety net that confirms the existing functionality remains intact, and the new changes work as expected. Rewriting the code (B), delegating the task (C), or changing the code before adding tests (D) can increase risk and are not recommended practices.
[Reference: PMI’s "Disciplined Agile Senior Scrum Master (DASSM) Handbook" and Disciplined Agile Delivery (DAD) guidelines on working with legacy code and applying technical practices like TDD., , ]
DASSM PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 75% Discount on All Products,
Use Coupon: "ac75sure"