Automated Test Case Generation for Embedded Software Using Extended Interface Automata

Chao Zhang, Xiaoying Bai, Junlong Li, Renwei Zhang
{"title":"Automated Test Case Generation for Embedded Software Using Extended Interface Automata","authors":"Chao Zhang, Xiaoying Bai, Junlong Li, Renwei Zhang","doi":"10.1109/QSIC.2013.24","DOIUrl":null,"url":null,"abstract":"With increasing size and complexity, more and more embedded systems are built from interconnected components. Testing is necessary to ensure the compatibility of composite components and the correctness of the integrated system. Interface automata (IAs) provide a light-weight formal method for modelling component external observable behaviour and component compositions. The paper presents a systematic method for automatic testing based on an extended IA (EIA) model. EIA enriches modelling capability by adding data and constraints to basic automata. Based on EIA, test path generation is then transformed to a search problem to traverse paths in the state model to achieve different model coverage. For each test path, a set of test data are generated by solving the constraints extracted from the transitions of the path. The paper analyses the proposed approach from four aspects: test adequacy, test case scale, test case correctness, and test effectiveness, using a simulated case study.","PeriodicalId":404921,"journal":{"name":"2013 13th International Conference on Quality Software","volume":"25 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-07-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 13th International Conference on Quality Software","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/QSIC.2013.24","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

With increasing size and complexity, more and more embedded systems are built from interconnected components. Testing is necessary to ensure the compatibility of composite components and the correctness of the integrated system. Interface automata (IAs) provide a light-weight formal method for modelling component external observable behaviour and component compositions. The paper presents a systematic method for automatic testing based on an extended IA (EIA) model. EIA enriches modelling capability by adding data and constraints to basic automata. Based on EIA, test path generation is then transformed to a search problem to traverse paths in the state model to achieve different model coverage. For each test path, a set of test data are generated by solving the constraints extracted from the transitions of the path. The paper analyses the proposed approach from four aspects: test adequacy, test case scale, test case correctness, and test effectiveness, using a simulated case study.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用扩展接口自动机的嵌入式软件自动化测试用例生成
随着规模和复杂性的增加,越来越多的嵌入式系统由相互连接的组件构建而成。为了保证组合部件的兼容性和集成系统的正确性,测试是必要的。接口自动机(IAs)为组件的外部可观察行为和组件组成建模提供了一种轻量级的形式化方法。本文提出了一种基于扩展IA (EIA)模型的系统自动测试方法。EIA通过向基本自动机添加数据和约束来丰富建模能力。然后,基于EIA,将测试路径生成转化为搜索问题,遍历状态模型中的路径,以实现不同的模型覆盖率。对于每个测试路径,通过求解从路径转换中提取的约束来生成一组测试数据。本文通过模拟案例分析,从测试充分性、测试用例规模、测试用例正确性和测试有效性四个方面对所提出的方法进行了分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Adaptive Combinatorial Testing Considerations in Designing Human-Computer Interfaces for Elderly People The ART of Divide and Conquer: An Innovative Approach to Improving the Efficiency of Adaptive Random Testing An Empirical Study of Adoption of Software Testing in Open Source Projects Supporting Reliability Modeling and Analysis for Component-Based Software Architecture: An XML-Based Approach
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1