首页 | 官方网站   微博 | 高级检索  
     

基于方法序列规范的测试用例生成
引用本文:郭健强,蔡希尧.基于方法序列规范的测试用例生成[J].计算机科学,2000,27(1):44-47.
作者姓名:郭健强  蔡希尧
作者单位:郭健强(西安电子科技大学软件工程研究所 西安 710071);蔡希尧(西安电子科技大学软件工程研究所 西安 710071)
摘    要:1 引言面向对象软件测试技术的研究是最近几年才引起重视的一个新领域。OO程序由于引入了封装、继承、多态等概念和机制,在程序的组织结构和运行机制上与传统的程序有很大差别,因而也对软件测试技术提出了新要求。无论是传统程序还是OO程序,测试活动通常分4个步骤进行:(1)确定测试准则;(2)基于测试准则构造

关 键 词:软件测试  方法序列规范  测试用例  软件开发

Test Case Generation from Method Sequence Specification
Abstract:In the OO paradigm, it is necessary and important to test all the method interactions within a class. But it is expensive to test all possible method sequence combinations. The MtSS of a class specifies the causal order in which the mothods can be invoked for the correct behavior of instances of the class. In this papcr, a test case generation method using MtSS is proposed. To generate less number of test cases that are effective in identifying most of the bugs in a programs, partition-based strategy for test case generation is presented and some partition criteria is discussed as well. Besides. how to generate negative test cases from MtSS is described for checking robustness of classes.
Keywords:Test case generation  Software testing  Robustness testing  OO systems
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号