使用扩展接口自动机的嵌入式软件自动化测试用例生成

Chao Zhang, Xiaoying Bai, Junlong Li, Renwei Zhang
{"title":"使用扩展接口自动机的嵌入式软件自动化测试用例生成","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":"{\"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}","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

摘要

随着规模和复杂性的增加,越来越多的嵌入式系统由相互连接的组件构建而成。为了保证组合部件的兼容性和集成系统的正确性,测试是必要的。接口自动机(IAs)为组件的外部可观察行为和组件组成建模提供了一种轻量级的形式化方法。本文提出了一种基于扩展IA (EIA)模型的系统自动测试方法。EIA通过向基本自动机添加数据和约束来丰富建模能力。然后,基于EIA,将测试路径生成转化为搜索问题,遍历状态模型中的路径,以实现不同的模型覆盖率。对于每个测试路径,通过求解从路径转换中提取的约束来生成一组测试数据。本文通过模拟案例分析,从测试充分性、测试用例规模、测试用例正确性和测试有效性四个方面对所提出的方法进行了分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Automated Test Case Generation for Embedded Software Using Extended Interface Automata
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信