首页 | 本学科首页   官方微博 | 高级检索  
     

基于本体和规则推理的GUI软件测试用例生成*
引用本文:张丽颖,蒋祖华. 基于本体和规则推理的GUI软件测试用例生成*[J]. 计算机应用研究, 2010, 27(1): 120-123. DOI: 10.3969/j.issn.1001-3695.2010.01.036
作者姓名:张丽颖  蒋祖华
作者单位:上海交通大学,工业工程与物流管理系,上海,200240
基金项目:国家“973”计划资助项目(2003CB317005);上海市曙光计划资助项目(05SG15)
摘    要:为了提高GUI软件测试用例的生成效率和可维护性,提出了一种基于本体和规则推理的GUI软件测试用例生成方法。首先建立一个通用的GUI软件测试用例本体模型,通过对其继承和实例化可获得具体被测软件的测试用例本体模型,同时开发反映测试数据生成和测试路径生成的测试用例生成规则。最后将基于OWL的测试用例本体和基于SWRL的测试用例生成规则导入Jess推理引擎,通过推理得到符合测试需求的、易于维护的测试用例子集。在核电站堆芯换料管理系统上的应用,验证了该方法的有效性。

关 键 词:测试用例生成; 本体; 规则推理; OWL; SWRL; Jess

Ontology and rule inference based GUI software test case generation
ZHANG Li-ying,JIANG Zu-hua. Ontology and rule inference based GUI software test case generation[J]. Application Research of Computers, 2010, 27(1): 120-123. DOI: 10.3969/j.issn.1001-3695.2010.01.036
Authors:ZHANG Li-ying  JIANG Zu-hua
Affiliation:(Dept. of Industrial Engineering & Management , Shanghai Jiaotong University, Shanghai 200240, China)
Abstract:In order to improve the generating efficiency and maintainability of GUI software test cases, this paper proposed an approach for test case generation based on ontology and rule inference. Firstly defined a generic GUI software test case ontology model, then acquired the test case ontology model for a concrete software by specializing and instantiating it. At the same time, developed test case generation rules implicating the test data generation and the test path generation. Finally, imported OWL ontology and SWRL rules into Jess engine so as to obtain test cases according to test requirement. The proposed methods were validated by the applications in nuclear station MIS.
Keywords:test case generation   ontology   rule inference   OWL   SWRL   Jess
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号