作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (15): 214-216. doi: 10.3969/j.issn.1000-3428.2007.15.076

• 人工智能及识别技术 • 上一篇    下一篇

基于BDI的测试用例生成Agent模型

高 峰1,李晋惠1,王学通2   

  1. (1. 西安工业大学计算机科学与工程学院,西安 710032;2. 西安理工大学计算机科学与工程学院,西安 710048)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-08-05 发布日期:2007-08-05

Agent Model of Design Test Case Based on BDI

GAO Feng1, LI Jin-hui1, WANG Xue-tong2   

  1. (1. Institute of Computer Science & Engineering, Xi’an Technological University, Xi’ an 710032; 2. School of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048)

  • Received:1900-01-01 Revised:1900-01-01 Online:2007-08-05 Published:2007-08-05

摘要: 在某些软件测试过程中,是由人工设计黑盒测试中的测试用例,这种方法人工重复劳动多、测试效率低。基于Agent理论中的BDI Agent的思想,给出了黑盒测试中自动生成测试用例的一个Agent模型,提出了一个使用该模型生成测试用例的算法。该模型能够依据黑盒测试中测试用例生成的基本原则和待测功能模块的功能说明,自动设计出相应的测试用例。使用该模型和算法生成了一个登录窗口的测试用例,解决了传统黑盒测试中的不足,具有重要的理论和实际意义。

关键词: BDI Agent, 黑盒测试, 测试用例

Abstract: Test-cases are currently designed manually in the process of software testing. There are much repetitive work and low test efficiency with this method. Therefore, this paper presents an agent model based on the ideal of BDI agent. This model can automatically design testc -ase in black _box testing based on the principals of designing test-case and the functions of module to be tested, it solves the traditional deficiency in black_ box testing.

Key words: BDI Agent, black _box test, test case

中图分类号: