摘要
面向对象软件测试与传统的软件测试区别不大,只有类和类簇的测试才体现了面向对象软件测试的特点,而两者之间又以类的测试最为关键。本文通过对状态机模型生成类的测试序列的方法和代码实现以及基于状态测试法的测试数据生成的问题的探讨,认为基于状态的测试方法和基于代数规约的测试方法(ASTOOT方法)将是类测试的主要的发展方向,其余方法大多只能以辅助的面貌出现。
There are almost no difference between Object-oriented software testing and traditional software testing. Only class and Class Cluster's testing show the characteristics of Object-oriented software testing, and the class testing is the key to theirs. Through the discussion about test sequence method of class made with state machine model, code realizing and testing data generation based on state testing method, this paper think the two testing methods based on state and statute of algebra would be the main developed orient about class testing, and the remaining methods will be appeared to support appearance.
出处
《电脑编程技巧与维护》
2008年第15期31-33,共3页
Computer Programming Skills & Maintenance
关键词
面向对象
软件测试
类测试
object-oriented
software testing
class testing