首页> 外文期刊>Software >Validating pragmatic reuse tasks by leveraging existing test suites
【24h】

Validating pragmatic reuse tasks by leveraging existing test suites

机译:通过利用现有测试套件来验证实用的重用任务

获取原文
获取原文并翻译 | 示例
           

摘要

Traditional industrial practice often involves the ad hoc reuse of source code that was not designed for that reuse. Such pragmatic reuse tasks play an important role in disciplined software development. Pragmatic reuse has been seen as problematic due to a lack of systematic support, and an inability to validate that the reused code continues to operate correctly within the target system. Although recent work has successfully systematized support for pragmatic reuse tasks, the issue of validation remains unaddressed. In this paper, we present a novel approach and tool to semi-automatically reuse and transform relevant portions of the test suite associated with pragmatically reused code, as a means to validate that the relevant constraints from the originating system continue to hold, while minimizing the burden on the developer. We conduct a formal experiment with experienced developers, to compare the application of our approach versus the use of a standard IDE (the 'manual approach'). We find that, relative to the manual approach, our approach: reduces task completion time; improves instruction coverage by the reused test cases; and improves the correctness of the reused test cases.
机译:传统的工业实践通常涉及临时设计的源代码重用,而该源代码不是为重用而设计的。这种务实的重用任务在规范的软件开发中起着重要的作用。由于缺乏系统的支持,并且无法验证重用的代码在目标系统内继续正确运行,因此务实的重用已被视为有问题。尽管最近的工作已成功地将对务实的重用任务的支持系统化,但验证问题仍未解决。在本文中,我们提出了一种新颖的方法和工具,用于半自动重用和转换与实用重用的代码相关联的测试套件的相关部分,以此作为一种方法来验证原始系统中的相关约束继续成立,同时最大程度地减少了开发人员的负担。我们与经验丰富的开发人员进行了正式实验,以比较我们的方法的应用和标准IDE(“手动方法”)的使用。我们发现,相对于手动方法,我们的方法是:减少任务完成时间;通过重用测试用例提高指令覆盖率;并提高了重用测试用例的正确性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号