摘要
为了提高GUI软件测试用例的生成效率和可维护性,提出了一种基于本体和规则推理的GUI软件测试用例生成方法。首先建立一个通用的GUI软件测试用例本体模型,通过对其继承和实例化可获得具体被测软件的测试用例本体模型,同时开发反映测试数据生成和测试路径生成的测试用例生成规则。最后将基于OWL的测试用例本体和基于SWRL的测试用例生成规则导入Jess推理引擎,通过推理得到符合测试需求的、易于维护的测试用例子集。在核电站堆芯换料管理系统上的应用,验证了该方法的有效性。
In order to improve the generating efficiency and maintainability of GUI software test cases, this paper proposed an approaeh for test case generation based on ontology and rule inference. Firstly defined a generic GUI software test ease 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 eases according to test requirement. The proposed methods were validated by tile applications in nuclear station MIS.
出处
《计算机应用研究》
CSCD
北大核心
2010年第1期120-123,共4页
Application Research of Computers
基金
国家"973"计划资助项目(2003CB317005)
上海市曙光计划资助项目(05SG15)