Author Login Chief Editor Login Reviewer Login Editor Login Remote Office

Computer Engineering ›› 2010, Vol. 36 ›› Issue (19): 65-66.

• Networks and Communications • Previous Articles     Next Articles

State Generating Algorithm in Automated Test

YU Chao1, WU Guo-qing2   

  1. (1. Chengdu Neusoft Institute of Information, Chengdu 611844, China; 2. School of Computer, Wuhan University, Wuhan 430072, China)
  • Online:2010-10-05 Published:2010-09-27

自动测试中的状态生成算法

喻 超1,毋国庆2   

  1. (1. 成都东软信息技术职业学院,成都 611844;2. 武汉大学计算机学院,武汉 430072)
  • 作者简介:喻 超(1976-),男,讲师、博士,主研方向:软件形式化技术;毋国庆,教授、博士生导师

Abstract: A method of verifying data structure’s property is introduced, which is based on automated test generation. It combines the traditional model checking and the automated software test generation, and searches the state space orderly, while ensuring the soundness of generating states as well as the completeness of the coverage of state space. At the same time, the method of describing property is the program logic, which is familiar by programmers and easy to use.

Key words: automated test, property verification, program logic

摘要: 针对数据结构的性质,特别是链式数据结构,提出一种自动测试中的状态生成算法。结合传统的模型检测思想从自动测试生成的角度对程序的状态空间进行搜索,在有效地生成测试程序状态的同时保证了程序状态的完全覆盖。该方法采用程序员熟悉的程序逻辑的描述方法,更易于使用。

关键词: 自动测试, 性质验证, 程序逻辑

CLC Number: