摘要
为了对实时嵌入式软件进行更好的测试,提出了一种基于全数字仿真的整体仿真技术.该项技术解决了现有软件测试环境中的两大功能性问题:通过将仿真时钟作为基准时间解决了断点影响实时信号处理的问题;通过提出的"动态桩"方法解决了单元测试时缺乏必要支持函数的问题.利用无损压缩原理对整个仿真测试平台进行优化,改变了仿真平台的低效问题,使这一技术走向实用化.整体仿真技术支持从单元测试到集成测试的整个软件测试过程,增强了在单元测试期间发现异常实时信号处理等方面软件问题的能力,显著提升集成测试的效率,并且实现了测试脚本的复用.该平台已经在某型号系列飞控软件的测试中得到应用.
For the test of real-time embedded system, the integrated all-digital simulation technology was proposed, which can resolve two functional problems in current software testing environment: ①Taking the simulation clock as the time reference, the synchronization due to setting break points was resolved; ② the "dynamic stub" approach was designed to drive the unit-testing for the embedded program that may not be complete, i.e. lack of supporting functions, like library. Furthermore, by significantly reducing judgments in each clock cycle using the lossless compression, the efficiency problem of the simulation platform was re- solved, which promotes the practicability of this technology. The integrated simulation technology supports the whole test process from unit test to the integrated test, which strengthens ability of finding software bugs in re-al-time signal exception processing, improves the efficiency of system-level software testing, and achieves the reuse of test scripts. The platform has been applied to the testing of flight control software.
出处
《北京航空航天大学学报》
EI
CAS
CSCD
北大核心
2014年第3期394-400,共7页
Journal of Beijing University of Aeronautics and Astronautics
关键词
软件测试
嵌入式软件
仿真器
software testing
embedded software
simulators