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

基于窗口导航有向图的GUI测试覆盖准则
引用本文:叶茂,高海昌,冯博琴,朱利.基于窗口导航有向图的GUI测试覆盖准则[J].西南交通大学学报,2006,41(4):476-480.
作者姓名:叶茂  高海昌  冯博琴  朱利
作者单位:1. 西安交通大学电子与信息工程学院,陕西,西安,710049
2. 西安交通大学软件学院,陕西,西安,710049
基金项目:国家高技术研究发展计划资助项目(2003AA1Z2610)
摘    要:为评估图形用户界面(GUI)测试用例集的充分性,提出了基于窗口导航有向图的覆盖准则.用有向图中的顶点表示GUI中的窗口,弧表示用户输入,描述用户与GUI的交互关系.基于窗口导航有向图,提出了顶层窗口覆盖、用户输入覆盖和n长度用户输入序列覆盖准则,并设计了相应的覆盖率算法.实验结果表明,符合这些覆盖准则的测试用例集能够达到90%语句覆盖率,且使故障发现率达到79%.

关 键 词:覆盖准则  图形用户界面  软件测试  窗口导航有向图  覆盖率  故障发现率
文章编号:0258-2724(2006)04-0476-05
收稿时间:2005-09-20
修稿时间:2005-09-20

Coverage Criteria for GUI Testing Based on Directed Graph for Window Navigation
YE Mao,GAO Haichang,FENG Boqin,ZHU Li.Coverage Criteria for GUI Testing Based on Directed Graph for Window Navigation[J].Journal of Southwest Jiaotong University,2006,41(4):476-480.
Authors:YE Mao  GAO Haichang  FENG Boqin  ZHU Li
Abstract:To evaluate the adequacy of a test suite for testing a program with graphical user interfaces(GUI),new coverage criteria based on directed graph for 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 satisfying the proposed criteria can reach a statement coverage rate as high as 90%,and a GUI fault detection rate as high as 79%.
Keywords:coverage criterion  GUI  software testing  directed graph for window navigation  coverage rate  fault detection rate
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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