摘要
随着嵌入式软件的广泛应用,嵌入式软件接口测试成为软件测试领域的研究重点。针对传统的接口测试采用人工方式创建测试数据且测试工具不支持通用化的问题,围绕接口测试数据的设计和生成两个方面,设计了一种通用化接口协议帧格式建模工具,辅助测试人员完成协议帧格式的构建。在此基础上,进一步制定数据生成的扰动规则,自动生成测试数据。实验结果表明,所提方法可实现嵌入式软件接口测试数据的自动生成,提升测试效率,提高数据的准确率与缺陷覆盖率。
With the widespread application of embedded software,interface testing for embedded software has become a research focus in the field of software testing.To address the issues of traditional interface testing,which relies on manual creation of test data and where testing tools lack generalized support,this research focuses on the design and generation of interface test data.A modeling tool for a generalized interface protocol frame format is designed to assist testers in constructing protocol frame formats.Based on this,the perturbation rules for data generation are further formulated to automatically generate test data.The experimental results demonstrate that the proposed method can achieve automatic generation of test data for embedded software interface testing,enhancing testing efficiency and improving data accuracy and defect coverage.
作者
史涯晴
许山山
易明煜
简开宇
SHI Yaqing;XU Shanshan;YI Mingyu;JIAN Kaiyu(College of Command&Control Engineering,Army Engineering University of PLA,Nanjing 210007,China;Unit 96512 of PLA,Xining 810001,China)
出处
《陆军工程大学学报》
2024年第5期57-66,共10页
Journal of Army Engineering University of PLA
关键词
嵌入式软件
接口测试
接口协议
测试数据
embedded software
interface testing
interface protocol
testing data