| 摘要: |
| 故障注入作为软件测试的一种有效技术已进入实用阶段, 然而如何在软件黑箱测试中运用故障注入技术目前尚少有文献加以论述.文章提出了软件黑 箱测试中故障外围注入的思想,通过嵌入故障的仿真环境,实现对被测软件输入级的故障引入 ,改变软件的运行状态,诱发内在的失效模式,导致错误的输出,从而达到预期的测试目的.这 一方法已应用于铁路车站信号控制系统软件的测试中,并取得了良好的效果. |
| 关键词: 软件测试,黑箱,环境仿真,故障注入,铁路信号. |
| DOI: |
| 分类号: |
| 基金项目:本文研究得到铁道部发展计划项目基金资助. |
|
| Embedding Fault in Simulation Environment for Software Black-box Testing |
|
TU Hai-ying,WU Fang-mei
|
| Abstract: |
| 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 soft ware black-box testing. A new approach to the difficulty, i.e., peripherally in jecting 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 bringi ng 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. |
| Key words: Software testing, black-box, environmen tal simulation, fault injection, railway signaling. |