首页    期刊浏览 2024年07月18日 星期四
登录注册

文章基本信息

  • 标题:A Cost-driven Approach for Metamorphic Testing
  • 本地全文:下载
  • 作者:Chen, Jing ; Kuo, Fei-Ching ; Xie, Xiaoyuan
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2014
  • 卷号:9
  • 期号:9
  • 页码:2267-2275
  • DOI:10.4304/jsw.9.9.2267-2275
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:Metamorphic testing has been applied in various systems from different domains. Many studies showed that the selection of metamorphic relations greatly affected the effectiveness of metamorphic testing. However, these studies mainly focused on the fault-detection effectiveness. They did not consider the cost that metamorphic relations involved, such as the number of test inputs. Good metamorphic relations should have high fault-detection effectiveness with a low cost. In this paper, we propose a cost-driven approach for metamorphic testing. The key idea is to design metamorphic relations sharing the same test inputs to reduce the testing cost. We conduct a case study on a bank system and compare the cost-effectiveness of metamorphic relations derived from this approach and those constructed by the conventional approach. The experimental results show that metamorphic relations derived from our approach are more cost-effective. We also find that this approach not only reduces the cost of metamorphic testing, but also helps to construct different metamorphic relations to detect different types of faults.
  • 关键词:software testing;metamorphic testing;metamorphic relation;cost-effectiveness
国家哲学社会科学文献中心版权所有