期刊文献+

基于FSM的Web应用测试用例生成研究 被引量:6

Based on FSM Web Application Research on Test Case Generation
在线阅读 下载PDF
导出
摘要 Web应用测试是提高Web应用质量的重要手段,测试的核心工作就是生成测试用例。生成测试用例主要有两大步骤:(1)从Web应用中提取模型。(2)遍历表示模型的有向图,产生测试用例。首先采用Html分析法结合源代码分析法提取FSM模型,随后在新提出的Web应用最小测试成本迁移覆盖准则下,利用一种复合的启发式搜索算法——模拟退火遗传算法遍历模型。通过比较模拟退火遗传算法和传统的搜索算法的效果,实例证明,该方法比传统方法生成的质量更理想。 Along with the fast evolution of Internet, Web application has become more and more rich and com- plicated. Software testing is an important way to improve the quality of Web applications, the core work of which is test case generation. Test case generation has two major steps: 1, Extract FSM model from Web application. 2, Traversed the directed graph which express the model and generated test cases. We used HTML analysis and Source code analysis to extract model, and then we used a composite heuristic search-Simulated Annealing and Genetic Al- gorithm to traverse the graph under the Web application minimum test cost transition coverage criterion. Finally, we compare the effect of the traditional method and our heuristic search, and give example to show the method is greater than the traditional one.
出处 《电子科技》 2013年第4期17-21,共5页 Electronic Science and Technology
关键词 FSM 最小测试成本迁移覆盖准则 模拟退火遗传算法 FSM Web application minimum test cost transition coverage criterion Simulated Annealing andGenetic Algorithm
  • 相关文献

参考文献6

  • 1彭树深,顾庆,陈道蓄.Web应用测试用例生成研究[J].计算机科学,2010,37(6):159-163. 被引量:7
  • 2ANNELIESE A, ANDREWS J, OFFUTr R T. Testing Web applications by modeling with fsms [ J]. Software Systems and Modeling, 2005,4 ( 3 ) : 326 - 345.
  • 3刘攀,缪淮扣,曾红卫,梅佳.确定性有限状态机的最小测试成本迁移覆盖准则[J].软件学报,2011,22(7):1457-1474. 被引量:6
  • 4MIAO H K,LIU P,MEI J,et al. A new approach to automa- ted redundancy reduction for test sequences [ C ]. IEEE Com- puter Society Press, shanghai : PRDC,2009 : 93 - 98.
  • 5ZHU B, MIAO H, ZENG H, et al. Generating test case from functional requirement of Web applications [ C ]. Nanchang: 2009 Second International Symposium on Electronic Com- merce and Security,ISECS,2009:465 -468.
  • 6冯雅丽.基于有限状态机理论的Web功能自动化测试技术研究[D].华东师范大学,2009.

二级参考文献29

共引文献12

同被引文献50

引证文献6

二级引证文献26

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部