首页> 外文会议>Software Maintenance and Reengineering (CSMR), 2009 13th European Conference on >Establishing Traceability Links between Unit Test Cases and Units under Test
【24h】

Establishing Traceability Links between Unit Test Cases and Units under Test

机译:在单元测试用例和被测单元之间建立可追溯性链接

获取原文

摘要

Coding and testing are two activities that are tightly intermingled in agile software development, requiring developers to frequently shift between production code and test artifacts. Unfortunately, links between these artifacts are typically implicitly present in the source code, forcing developers towards time consuming code inspections. In this work, we evaluate the potential of six traceability resolution strategies involving test naming and design conventions, static call graphs, call behavior before asserts, lexical analysis and version log mining to make the relation between developer test cases and units under test explicit. The results show that test conventions yield highly accurate results, yet in their absence capturing the destination type of calls right before assert statements appears as a valuable alternative. Combining these strategies allows the user to find a balance between improved applicability and accuracy.
机译:编码和测试是两个在敏捷软件开发中融入的两个活动,需要开发人员经常在生产代码和测试工件之间转移。遗憾的是,这些工件之间的链接通常隐含地存在于源代码中,强迫开发人员朝向耗时的代码检查。在这项工作中,我们评估涉及测试命名和设计惯例,静态呼叫图,呼叫行为的六种可追溯性解决策略的潜力,在断言,词汇分析和版本日志挖掘之前,以使开发人员测试用例与正在测试的单位之间的关系。结果表明,测试惯例产生高度准确的结果,但在他们缺席之前,在断言陈述之前捕获目的地类型的呼叫呼叫,结果表现为有价值的替代品。结合这些策略允许用户在提高适用性和准确性之间找到平衡。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号