Automated EFSM-based test case generation with scatter search

Jie Zhang, Rui Yang, Zhenyu Chen, Zhihong Zhao, Baowen Xu
{"title":"Automated EFSM-based test case generation with scatter search","authors":"Jie Zhang, Rui Yang, Zhenyu Chen, Zhihong Zhao, Baowen Xu","doi":"10.1109/IWAST.2012.6228994","DOIUrl":null,"url":null,"abstract":"Extended Finite State Machine (EFSM) is widely-used to represent system specifications. Automated test data generation based on EFSM models is still a challenging task due to the complexity of transition paths. In this paper, we introduce a new approach to generate test cases automatically for given transition paths of an EFSM model. An executable EFSM model is used to provide run-time feedback information as fitness function. And then scatter search algorithm is used to search for test data that can trigger given transition paths. Based on the executable model, the expected outputs associated with test data are also collected for construction of test oracles automatically. Finally, test data (inputs) and test oracles (expected outputs) are combined to be test cases. The experimental results show that our approach can effectively generate test cases to exercise the feasible transition paths.","PeriodicalId":389615,"journal":{"name":"2012 7th International Workshop on Automation of Software Test (AST)","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-06-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"15","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 7th International Workshop on Automation of Software Test (AST)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IWAST.2012.6228994","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 15

Abstract

Extended Finite State Machine (EFSM) is widely-used to represent system specifications. Automated test data generation based on EFSM models is still a challenging task due to the complexity of transition paths. In this paper, we introduce a new approach to generate test cases automatically for given transition paths of an EFSM model. An executable EFSM model is used to provide run-time feedback information as fitness function. And then scatter search algorithm is used to search for test data that can trigger given transition paths. Based on the executable model, the expected outputs associated with test data are also collected for construction of test oracles automatically. Finally, test data (inputs) and test oracles (expected outputs) are combined to be test cases. The experimental results show that our approach can effectively generate test cases to exercise the feasible transition paths.
自动的基于efsm的测试用例生成和分散搜索
扩展有限状态机(EFSM)被广泛用于表示系统规格。由于转换路径的复杂性,基于EFSM模型的自动化测试数据生成仍然是一项具有挑战性的任务。在本文中,我们介绍了一种新的方法来自动地为给定的EFSM模型的转换路径生成测试用例。采用可执行的EFSM模型作为适应度函数提供运行时反馈信息。然后使用散点搜索算法搜索能够触发给定过渡路径的测试数据。基于可执行模型,与测试数据相关的预期输出也被自动收集,用于构建测试预言机。最后,测试数据(输入)和测试预言(预期输出)被组合成测试用例。实验结果表明,我们的方法可以有效地生成测试用例来测试可行的转换路径。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书