摘要
针对电能表黑盒测试方法无法实现电能表软件分支路径遍历测试,及无法给出电能表EEPROM数据错误容错能力评价的问题,考虑电能表数据存储单元EEPROM保存着电能表运行参数的事实,提出了一种基于EEPROM读写的新型电能表白盒测试方法。该测试方法通过对EEPROM参数的改写来实现电能表软件分支路径的全覆盖,有效地解决了黑盒测试方法相关分支路径的漏测问题,通过相关测试平台的搭建与集成,实现了智能电能表自动化白盒测试。该方法的实现对提高电能表的可靠性及容错能力,具有一定的参考价值。
Aiming at the problem that Watt-hour meter black box testing method cannot achieve branch path traversal for the Watt-hour meter software, and that the EEPROM data error tolerance evaluation of the Watt-hour meter cannot be presented, a new type of Watt-hour meter white-box testing method based on EEPROM read and write has been proposed in this paper, considering the fact that Watt-hour meter's running parameters are preserved in Watt-hour me- ter data storage unit. The new test method will avoid the branches path missing in the black box test effectively through the changing of EEPROM parameters to achieve the whole coverage for Watt-hour meter software branch path traversal. The Watt-hour meter software can be test automatically by the white-box test method by the construction and integration of the new test platform. The new method proposed in this paper will provide a certain reference value so as to improve the reliability and fault tolerance of the Watt-hour meter.
出处
《电测与仪表》
北大核心
2014年第3期1-5,共5页
Electrical Measurement & Instrumentation
关键词
嵌入式软件测试
智能电能表
自动测试
读写EEPROM
:embedded software testing, intelligent Watt-hour meter, automatic test, EEPROM read and write