题目
某实践极限编程(XP)的团队被管理层要求放弃测试驱动开发(TDD)以加快功能交付。照办的最大风险是什么?
A team practicing Extreme Programming (XP) is asked by management to drop test-driven development (TDD) to increase feature delivery speed. What is the most significant risk of complying?
选项
- A.Team morale will decrease because developers prefer TDD.
- B.Short-term speed gains will be offset by increasing defect rates, accumulating technical debt and slowing future velocity: TDD reduces rework by catching defects at the point of creation rather than after integration.
- C.The team will violate XP methodology guidelines.
- D.The team will need to retrain on non-TDD practices.
解析
解析:B 正确。TDD 是证据最充分的质量实践之一,通常能显著降低缺陷率并改善设计质量。为短期提速放弃 TDD,会进入典型的技术债螺旋:初期变快 → 缺陷变多 → 调试返工耗时增加 → 净速率下降。支持 TDD 的理由是经济性的,而非意识形态。方法论合规(C)不是核心问题;士气(A)与再培训(D)相对质量与速率影响都属次要。
Rationale:B is correct. TDD is one of the most evidence-backed quality practices: it typically reduces defect rates substantially and improves design quality. Dropping TDD for short-term speed produces the classic technical debt spiral: initial speed increase, more defects, more time in debugging and rework, net speed decrease. The business case for TDD is economic, not ideological. Methodology compliance (C) is not the core issue. Morale (A) and retraining (D) are secondary concerns compared to the quality and velocity impact.
同考点练习题
-
PMP202611-293 · 答案 C
-
PMP202611-342 · 答案 B
-
PMP202611-388 · 答案 B