计算机工程 ›› 2008, Vol. 34 ›› Issue (4): 98-100.doi: 10.3969/j.issn.1000-3428.2008.04.034

• 软件技术与数据库 • 上一篇    下一篇

基于模拟器的嵌入式软件动态测试技术

许 福,金茂忠,晏海华,刘 辉,赫建营   

  1. (北京航空航天大学软件工程研究所,北京 100083)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-02-20 发布日期:2008-02-20

Dynamic Test Framework for Embedded Software Systems Based on Simulator

XU Fu, JIN Mao-zhong, YAN Hai-hua, LIU Hui, HE Jian-ying   

  1. (Software Engineering Institute, Beijing University of Aeronautics and Astronautics, Beijing 100083)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-02-20 Published:2008-02-20

摘要: 提出一种嵌入式软件动态测试框架,该框架以模拟器为运行核心,准确模拟嵌入式硬件的运行状态,给出语句覆盖率、分支覆盖率、函数及模块的执行频度、程序执行时间等测试信息,有效地支持了嵌入式软件的动态测试和单元测试。实验证明了该方法的有
效性。

关键词: 模拟器, 嵌入式软件测试, 动态测试, 单元测试

Abstract: A dynamic test method for embedded software systems is presented. This method is based on software simulator and can simulate the embedded hardware accurately. It improves dynamic test and unit test, which reports the coverage of statements, the coverage of branches, the calling frequency of functions/modules and the execution clocks. Experimental results show that the technology is effective.

Key words: simulator, embedded software test, dynamic test, unit test

中图分类号: