摘要
类的集成测试顺序决定着测试工作量的大小.通过分析面向对象程序中类之间的完整依赖关系,给出了基于测试级的集成测试顺序分配策略及其实现.首先,分析了面向对象程序的类之间的依赖关系,并给出了数学描述;接着给出了测试级的定义以及基于测试级的测试顺序分配策略和算法;最后,介绍了基于该分配策略的一个测试级顺序自动生成工具--TLOGOS.该工具已被用于YSS2000电力监控组态系统的测试,大大减少了测试的工作量.
The order of class integration testing decides the amount of testing work. In the paper, an order-assigned strategy of class integration testing is presented and implemented by analyzing the complete dependency relation of classes in OO program. Firstly, it analyzes the dependency relation of classes in OO program and gives the math description. Secondly, it defines the testing level of all classes, and proposes order-assigned strategy of class integration testing based on it. At last, it introduces a testing level order automatic generating tool — TLOGOS, which is implemented on the basis of the above strategy. The tool has been used in YSS2000 Electric Power Inspect and Control System, and reduced the testing work obviously.
出处
《装备指挥技术学院学报》
2005年第1期93-97,共5页
Journal of the Academy of Equipment Command & Technology
基金
国家“863”计划基金资助项目(2001AA115090)