期刊文献+

从Rose的规约文件自动生成测试用例 被引量:3

Automatic Test Cases Generation from Rational Rose Specification Files
下载PDF
导出
摘要 对基于状态的类测试用例自动生成进行了研究,重点放在状态预测和测试消息序列生成上:类的动态行为用UML的状态图表示,测试时直接从RationalRose的规约文件中读取状态图规约生成测试消息序列;对状态的预测使用状态不变量;生成消息序列时对算法进行优化,减少消息序列的冗余,从而缩短消息序列的路径长度。 This paper probed into the automatic test cases generation of state-based class testing, emphasizing test sequences generation and state prediction. The dynamic behaviours of a class was modeled by UML statechart, and the test sequences were directly generated from state information in Rational Rose specification files. State invariants were used for the state prediction. The test sequences generation algorithm was optimized to trim the redundancy of the test sequences, thereby the length of the test sequences was shortened. '
出处 《计算机应用》 CSCD 北大核心 2003年第12期12-15,共4页 journal of Computer Applications
基金 陕西省教育厅科研基金项目 (0 0JK2 6 5)
关键词 面向对象 基于状态的测试 测试用例 UML 状态图 有限状态机 Object-Oriented state-based testing test cases UML state diagram FSM
  • 相关文献

参考文献4

  • 1[1]Chow TS. Testing Software Design Modeled by Finite State Machines[J]. IEEE Transactions on Software Engineering,1978,SE-4(3):178-187.
  • 2[2]Bourhfir C, Dssouli R, Aboulhamid EM. Automatic Test Generation for EFSM-Based Systems[EB/OL]. http://citeseer.nj.nec.com/11451.html,2002-11-20.
  • 3[3]Latella D, Massink M. A Formal Testing Framework for UML Statechart Diagrams Behaviours: From Theory to Automatic Verification[M]. Springer-Verlag, 2001.
  • 4[4]Offutt J. Abdurazik A. Generating Tests from UML Specification[A]. UML99[C]. Springer-Verlag,1999.

同被引文献26

引证文献3

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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