Adaptive search techniques applied to software testing

J. Benson
{"title":"Adaptive search techniques applied to software testing","authors":"J. Benson","doi":"10.1145/800003.807915","DOIUrl":null,"url":null,"abstract":"An experiment was performed in which executable assertions were used in conjuction with search techniques in order to test a computer program automatically. The program chosen for the experiment computes a position on an orbit from the description of the orbit and the desired point.\n Errors were interested in the program randomly using an error generation method based on published data defining common error types. Assertions were written for program and it was tested using two different techniques. The first divided up the range of the input variables and selected test cases from within the sub-ranges. In this way a “grid” of test values was constructed over the program's input space.\n The second used a search algorithm from optimization theory. This entailed using the assertions to define an error function and then maximizing its value. The program was then tested by varying all of them. The results indicate that this search testing technique was as effective as the grid testing technique in locating errors and was more efficient. In addition, the search testing technique located critical input values which helped in writing correct assertions.","PeriodicalId":262059,"journal":{"name":"Measurement and evaluation of software quality","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1981-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Measurement and evaluation of software quality","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/800003.807915","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

An experiment was performed in which executable assertions were used in conjuction with search techniques in order to test a computer program automatically. The program chosen for the experiment computes a position on an orbit from the description of the orbit and the desired point. Errors were interested in the program randomly using an error generation method based on published data defining common error types. Assertions were written for program and it was tested using two different techniques. The first divided up the range of the input variables and selected test cases from within the sub-ranges. In this way a “grid” of test values was constructed over the program's input space. The second used a search algorithm from optimization theory. This entailed using the assertions to define an error function and then maximizing its value. The program was then tested by varying all of them. The results indicate that this search testing technique was as effective as the grid testing technique in locating errors and was more efficient. In addition, the search testing technique located critical input values which helped in writing correct assertions.
应用于软件测试的自适应搜索技术
为了对计算机程序进行自动测试,将可执行断言与搜索技术相结合进行了实验。为实验选择的程序从轨道描述和期望的点计算在轨道上的位置。对程序感兴趣的错误使用基于定义常见错误类型的发布数据的错误生成方法随机生成。我们为程序编写了断言,并使用两种不同的技术对其进行了测试。第一个划分了输入变量的范围,并从子范围内选择了测试用例。通过这种方式,在程序的输入空间上构建了一个测试值的“网格”。第二种算法采用了优化理论中的搜索算法。这需要使用断言来定义一个错误函数,然后最大化它的值。然后通过改变所有这些来测试该程序。结果表明,该搜索测试技术与网格测试技术在错误定位方面具有同样的效果,而且效率更高。此外,搜索测试技术定位了关键的输入值,这有助于编写正确的断言。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信