期刊文献+

基于状态的面向对象软件测试的策略

Strategies of Object-Oriented Software Testing Based on State
下载PDF
导出
摘要 面向对象的测试是一种不断发展、不断完善的技术。文中主要针对面向对象技术的特点,介绍了几种基于状态的面向对象测试的策略,论证了基于状态的面向对象测试的最佳策略。分析了各种测试策略的实现原理,并从理论上分析了这些测试策略的优缺点,从而引入和讨论了N+测试策略。从它的测试的展平状态模型入手,通过一个具体的实例覆盖了实施该策略的基本过程:展平类图、回路测试、潜行路径测试和确定结果状态。最后,通过对比和事实,证明N+测试策略能够发现更多的错误状态和不正确的转换错误,是比较充足的。 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.
作者 郭有青
出处 《微机发展》 2004年第5期99-101,104,共4页 Microcomputer Development
关键词 面向对象 软件测试 N+测试策略 展平类图 回路测试 潜行路径测试 testing object-oriented N+strategy unwrapped state model
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部