摘要
随着嵌入式软件的规模和复杂性不断提高,白盒测试中经常用到覆盖率测试。轻量级覆盖率测试工具GCOV在使用上具有操作繁琐的弊端。本文基于GCOV覆盖率测试的原理,依据shell脚本批处理的特点将各部分操作封装为脚本工具,实现各脚本工具调用。通过该设计进行覆盖率报告输出节省了大量时间,提高了软件开发测试的效率。
Raise continuously along with the scale and complexity of the built-in software,the white box usually uses to overlay a rate test.The lightweight overlays the rate test tool GCOV to have complicated tedious irregularity of operation on the usage.The design overlays the principle of the rate test according to the GCOV,criticizing the characteristics of the processing to seal each part operation to pack for the script tool according to the shell script,carrying out each script tool to adjust to use.Pass should design to carry on overlaying the rate report exportation to save a great deal of time,raise software a development a test of efficiency.
作者
齐晓斌
麦先根
李运喜
Qi Xiaobin;Mai Xiangen;Li Yunxi(Xi’an Aeronautics Computing Technique Research Institute,AVIC,Xi’an Shaanxi,710119)
出处
《电子测试》
2020年第8期57-58,56,共3页
Electronic Test