摘要
为评估图形用户界面(GUI)测试用例集的充分性,提出了基于窗口导航有向图的覆盖准则.用有向图中的顶点表示GUI中的窗口,弧表示用户输入,描述用户与GUI的交互关系.基于窗口导航有向图,提出了顶层窗口覆盖、用户输入覆盖和n长度用户输入序列覆盖准则,并设计了相应的覆盖率算法.实验结果表明,符合这些覆盖准则的测试用例集能够达到90%语句覆盖率,且使故障发现率达到79%.
To evaluate the adequacy of a test suite for testing (GUI), new coverage criteria based on directed graph for a program with graphical user interfaces window navigation was proposed. The vertexes in the graph represent windows of GUI, and the directed edges represent user inputs on windows. The graph models the interaction between user and GUI. Top window coverage criterion, user input coverage criterion and length n user input sequence coverage criterion were proposed based on the graph. Algorithms were presented to compute the coverage rate on every coverage criterion. Experimental results show that the test suites criteria can reach a statement coverage rate as high as 90%, and a GUI fault detection rate as high as 79%.
出处
《西南交通大学学报》
EI
CSCD
北大核心
2006年第4期476-480,共5页
Journal of Southwest Jiaotong University
基金
国家高技术研究发展计划资助项目(2003AA1Z2610)
关键词
覆盖准则
图形用户界面
软件测试
窗口导航有向图
覆盖率
故障发现率
coverage criterion
GUI
software testing
directed graph for window navigation
coverage rate
fault detection rate