arXiv:2411.04141cs.SEcs.CL2024-11被引 6

对比TDD与BDD在企业软件交付中的效果,发现各自优劣。

A Comparative Study on the Impact of Test-Driven Development (TDD) and Behavior-Driven Development (BDD) on Enterprise Software Delivery Effectiveness

  • 通过深度访谈比较TDD与BDD的实践影响。
  • TDD提升代码质量减少缺陷,BDD增强跨团队沟通。
  • 适合关注质量或协作的企业选择开发模式。

本研究通过定性方法,对采用TDD或BDD的企业开发者和项目管理者进行深度访谈,比较两种开发模式对企业软件交付效能的影响。结果表明,TDD强调早期测试与迭代开发,显著提升代码质量并减少缺陷;而BDD通过直接引入利益相关者参与行为规范,改善了跨职能沟通。然而,TDD初期投入时间较高,BDD可能面临需求不清晰的挑战。研究揭示了不同项目类型与利益相关者需求下两种模式的适配差异,有助于企业根据自身情况选择合适模型。研究为TDD与BDD的实际应用提供了实践洞见,并建议未来在多样化环境中开展长期影响研究。

原文摘要 · Abstract (English)

This paper compares the impact of Test-Driven Development (TDD) and Behavior-Driven Development (BDD) on software delivery effectiveness within enterprise environments. Using a qualitative research design, data were collected through in-depth interviews with developers and project managers from enterprises adopting TDD or BDD. Moreover, the findings reveal distinct effects of each model on delivery speed, software quality, and team collaboration. Specifically, TDD emphasizes early testing and iterative development, leading to enhanced code quality and fewer defects, while BDD improves cross-functional communication by focusing on behavior specifications that involve stakeholders directly. However, TDD may create a higher initial time investment, and BDD might encounter challenges in requirement clarity. These differences highlight gaps in understanding how each model aligns with varying project types and stakeholder needs, which can guide enterprises in selecting the most suitable model for their unique requirements. The study contributes to the literature by providing insights into the practical application and challenges of TDD and BDD, suggesting future research on their long-term impacts in diverse settings.

敏捷开发软件工程开发模式

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。