摘要: 在某些软件测试过程中,是由人工设计黑盒测试中的测试用例,这种方法人工重复劳动多、测试效率低。基于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
中图分类号:
高 峰;李晋惠;王学通. 基于BDI的测试用例生成Agent模型[J]. 计算机工程, 2007, 33(15): 214-216.
GAO Feng; LI Jin-hui; WANG Xue-tong. Agent Model of Design Test Case Based on BDI[J]. Computer Engineering, 2007, 33(15): 214-216.