首页 | 本学科首页   官方微博 | 高级检索  
     

基于状态的面向对象软件测试的策略
引用本文:郭有青. 基于状态的面向对象软件测试的策略[J]. 微机发展, 2004, 14(5): 99-101,104
作者姓名:郭有青
作者单位:西安电子科技大学软件工程研究所 陕西西安710071
摘    要:面向对象的测试是一种不断发展、不断完善的技术。文中主要针对面向对象技术的特点,介绍了几种基于状态的面向对象测试的策略,论证了基于状态的面向对象测试的最佳策略。分析了各种测试策略的实现原理,并从理论上分析了这些测试策略的优缺点,从而引入和讨论了N十测试策略。从它的测试的展平状态模型人手,通过一个具体的实例覆盖了实施该策略的基本过程:展平类图、回路测试、潜行路径测试和确定结果状态。最后,通过对比和事实,证明N十测试策略能够发现更多的错误状态和不正确的转换错误.是比较充足的。

关 键 词:面向对象 软件测试 N+测试策略 展平类图 回路测试 潜行路径测试
文章编号:1005-3751(2004)05-0099-03

Strategies of Object-Oriented Software Testing Based on State
GUO You-qing. Strategies of Object-Oriented Software Testing Based on State[J]. Microcomputer Development, 2004, 14(5): 99-101,104
Authors:GUO You-qing
Abstract:Testing object-oriented is a kind of technique which is developing and consummating continuously.This paper deals with some kinds of strategies for tesing object-oriented on the base of state on account of the characters of object-oriented system,and a good strategy is obtained.This paper analyzes the priciple of all kinds of testing strategies,and their merits and dismerites,then N strategy is brought forward.And N strategy is emphasized on.From the beginning of its unwrapped state model,a concrete instance overcasts the whole process of implementing N strategy:unwrapped class chart,loop testing,underlying path and deciding result state.At last,N stategy is proved efficient in finding more error state and transition error by contrast and facts.
Keywords:testing object-oriented  N strategy  unwrapped state model  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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