高级检索

软件的变量完整性测试方法

Variable Integrity Testing of Software

  • 摘要: 由于软件测试用例的输出部分很难确定,而通过测试变量自身的定义域和变量间的一致性约束关系,只需要确定输出值的范围而不用知道其确切的值,就可以提高了错误检测的效率.同时,检测的范围不局限于程序最后的输出结果,而是散布在程序中的各个有意义的变量,正如调试过程中设置断点观察的那些变量,使得检测错误更加精准.

     

    Abstract: This paper provides a method of variable integrity testing to detect the faults of software. By checking the definition domain of the variable itself and the restriction condition of consistency between variables,we only need to determine the bound of each output data,rather than the exact value. Although the output of testing case cannot be easily caught,this method can improve the efficiency of detecting faults.Furthermore,the checking point is not limited to the final output place,but spreads over the reference places in the program code to key variables just like those at the checkpoints under debugging.As a consequence,the testing becomes more precise.

     

/

返回文章
返回