arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1205.6594cs.SE
收藏

更好地理解测试if条件句

Towards a better understanding of testing if conditionals

Shimul Kumar Nath, Robert Merkel, Man Fai Lau, Tanay Kanti Paul

摘要:

基于故障的测试是一种技术,在这种技术中,测试用例被选择来揭示某些类别的故障。目前,测试专业人员使用他们的个人经验来选择被认为最有可能出现的故障类别的测试方法。然而,在公开文献中几乎没有经验证据支持这些直觉。通过检查源代码的变化时,故障被固定在七个开源软件工件,我们已经分类错误修复模式到故障类,并记录了相对频率的确定的故障类。本文报告了我们的研究结果有关的“如果条件”修复。我们已经将“如果条件”修复分为十四个故障类别,并计算了它们的频率。我们发现最常见的故障类别与单个“原子”内的变化有关。第二个最常见的错误是遗漏了一个“原子”。我们分析了这些结果的背景下,布尔规格测试。

英文摘要:

Fault based testing is a technique in which test cases are chosen to reveal certain classes of faults. At present, testing professionals use their personal experience to select testing methods for fault classes considered the most likely to be present. However, there is little empirical evidence available in the open literature to support these intuitions. By examining the source code changes when faults were fixed in seven open source software artifacts, we have classified bug fix patterns into fault classes, and recorded the relative frequencies of the identified fault classes. This paper reports our findings related to "if-conditional" fixes. We have classified the "if-conditional" fixes into fourteen fault classes and calculated their frequencies. We found the most common fault class related to changes within a single "atom". The next most common fault was the omission of an "atom". We analysed these results in the context of Boolean specification testing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑