检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]北京化工大学信息科学与技术学院,北京100029
出 处:《计算机研究与发展》2017年第3期669-680,共12页Journal of Computer Research and Development
基 金:国家自然科学基金项目(61170082;61472025);教育部新世纪优秀人才支持计划项目(NCET-12-0757)~~
摘 要:基于模型的测试是软件测试中一个重要分支,但随着模型规模的增大,测试用例生成也变得越来越困难.扩展有限状态机(extended finite state machine,EFSM)是一种广泛应用的模型,它是对有限状态机(finite state machine,FSM)的扩展,能够更精确地刻画软件系统的动态行为.对EFSM模型的测试主要包含2个部分:测试迁移路径的生成和覆盖测试迁移路径的测试数据的生成.基于搜索的方法已被应用于测试数据的生成.为了提高在大规模EFSM模型中测试用例生成的效率,在前期对EFSM模型非终止性研究新型依赖性分析和切片技术的基础上,提出了基于EFSM模型不定型切片的测试用例生成方法和测试用例补全方法.通过2个案例分析得出:基于模型切片可以更加准确地生成可行路径和提高测试强度.基于7个基准EFSM模型的实验结果表明,在大多数情况下,在切片上生成测试用例的效率都比在原模型上高.Model based testing is a crucial dimension in software testing.However,with the increase of model scale,model based test case generation is becoming more and more arduous.Extended Finite State Machine(EFSM)has been widely used in industry,which is extended from Finite State Machine(FSM),and can depict the dynamic behavior of software system more accurately.EFSM based test case generation mainly includes two parts:test transition paths generation and test data generation that covers the test transition paths,in which search based technology is adapted in test data generation.In order to improve the efficiency of test case generation in large-scale EFSM models,EFSM slicing based test case generation and test case compensating are proposed based on the previous research on EFSM dependence analysis and slicing for non-termination of EFSM models.Two case studies are introduced to show that model slicing based test case generation is more accurate in feasible path generation and test intensity improvement.In this paper,the experiments on 7standard EFSMs are conducted,and the results show that all of the test case generated from slice can be used in the original model,and in most cases,test case generation efficiency on slice is higher than that on the original model.
关 键 词:EFSM模型 依赖性分析 切片 测试用例生成 测试用例补全
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.223.238.183