摘要
故障注入作为软件测试的一种有效技术已进入实用阶段,然而如何在软件黑箱测试中运用故障注入技术目前尚少有文献加以论述.文章提出了软件黑箱测试中故障外围注入的思想,通过嵌入故障的仿真环境,实现对被测软件输入级的故障引入,改变软件的运行状态,诱发内在的失效模式,导致错误的输出,从而达到预期的测试目的.这一方法已应用于铁路车站信号控制系统软件的测试中,并取得了良好的效果.
Fault injection, as a perfected technique for software testing, now has been put into practical use. However, only a very few of the documents have expounded on how to use fault injection technique in software black box testing. A new approach to the difficulty, i.e., peripherally injecting faults in the software is presented in this paper. By means of a fault imbedded environmental simulation, faults are injected in the input level of the software under test. These faults may induce inherent failure mode, thus bringing about unexpected output consequently, the anticipated goal of the test is attained. This method has been used for testing railway signaling control system software and desirable results have been achieved.
出处
《软件学报》
EI
CSCD
北大核心
1999年第5期516-520,共5页
Journal of Software
基金
铁道部发展计划项目基金
关键词
软件测试
黑箱
环境仿真
铁路信号
软件开发
Software testing, black box, environmental simulation, fault injection, railway signaling.