Enable javascript in your browser for better experience. Need to know to enable it? Go here.

测试 && 提交 || 回退 (Test && Commit || Revert)

Published : Nov 05, 2025
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar. Understand more
Nov 2025
Trial ?

测试 Test && 提交 Commit || 回退 Revert(TCR)是一种源自测试驱动开发的编程工作流,通过一个简单规则促进非常小的、连续的步骤:每次修改后,如果测试通过,则提交更改;如果测试未通过,则回退更改。实现 TCR 非常直接:只需定义一个脚本,在代码库中自动执行此循环。TCR 最初由 Kent Beck 在一篇经典 文章 中提出。我们发现 TCR 强化了诸如 YAGNIKISS 等积极的编码实践。在我们尝试使用生成式 AI 构建软件的新工作流时,这值得评估。

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Visit our archive to read previous volumes