摘要: 分析嵌入式软件动态测试的特点及路径覆盖测试策略,设计动态测试数据采集处理框架,其中包含程序分析与插桩、测试数据采集传输、测试结果分析与处理3大子系统。以静态分析结果指导插桩,采用消息队列机制采集传输数据,并利用测试结果制作初步测试报告。通过测试实例分析模拟采集、处理一条路径数据的过程,证明该框架的可行性。
关键词:
路径覆盖测试,
程序插桩,
消息队列
Abstract: This paper depicts embedded software dynamic test characteristic and path coverage test strategy to design a data collection and processing framework, which includes program instrumentation, data collection, data transmission and results processing. The results of static analysis show instrumentation, using message queue to collect and transmit data, and making rudimental report based on the results. Through simulated collection and processing data of a path, the feasibility of the framework is proved.
Key words:
path coverage test,
program instrumentation,
message queue
中图分类号:
于全喜;张毅坤;胡燕京;朱 伟. 嵌入式软件路径覆盖测试数据采集[J]. 计算机工程, 2009, 35(21): 54-56,5.
YU Quan-xi; ZHANG Yi-kun; HU Yan-jing; ZHU Wei. Data Collection in Embedded Software Path Coverage Test[J]. Computer Engineering, 2009, 35(21): 54-56,5.