期刊文献+

一种基于有限状态机的测试路径生成方法 被引量:2

Towards Generating Test Paths Based on Finite State Machines
在线阅读 下载PDF
导出
摘要 有限状态机(Finite State Machine,简称FSM)模型是软件测试领域的流行测试模型之一.基于FSM模型生成测试用例的方法假设给定的模型与用户的需求一致,测试的目标就是检查被测实现是否与模型一致.给出了FSM的代数表示及其相关的测试理论,利用正则表达式的结构表示测试路径(抽象测试用例),使测试分析变得更简单并利于形式推导.对任何抽象级的FSM,都可以从中产生满足确定测试准则的测试用例,它们是抽象的,对应不同的抽象级别,适合不同层次上的测试.最后还对FSM中完全路径的条数展开了分析,这便于考察满足完全路径覆盖所需的最多测试用例个数以及满足迁移覆盖所需的最少测试用例个数. Finite State Machine(FSM for short) is one of the popular models for software testing. The approach to generating test cases based on FSMs assumes that the given model is identical with user requirements and the goal of the testing is to check if the implementation conforms to the given model. It gives the algebraic representation of FSM and its corresponding testing theory,and employs regular expressions to describe test paths(abstract test cases),which simplifies the test analysis and helps to conduct formal deduction. For an FSM at any abstract level,the test cases satisfying a certain test criterion can be generated; these test cases are abstract,corresponding to a certain abstract level and appropriate for the testing in that abstract level. Finally,it analyzes the number of complete paths in an FSM,as is convenient for considering the maximal number of test cases needed to satisfy complete path coverage criterion and the minimal number of test cases needed to satisfy transition coverage criterion respectively.
作者 钱忠胜
出处 《小型微型计算机系统》 CSCD 北大核心 2014年第7期1585-1590,共6页 Journal of Chinese Computer Systems
基金 国家自然科学基金项目(61262010 61262034 61163007)资助 中国博士后科学基金面上项目(2014M551855)资助 江西省自然科学基金项目(20132BAB201036 20114BAB211019 20122BAB201034)资助 江西省博士后科研择优项目(赣人社字[2013]227号)资助 江西省教育厅科技计划项目(GJJ12743)资助 江西省教育厅科学技术研究重点项目(GJJ13307)资助
关键词 有限状态机 测试路径 正则表达式 状态迁移图 finite state machine test path regular expression state transition diagram
  • 相关文献

参考文献3

二级参考文献42

  • 1刘玲,缪淮扣.对逻辑覆盖软件测试准则的公理化评估[J].软件学报,2004,15(9):1301-1310. 被引量:9
  • 2许蕾,徐宝文.Web应用测试框架研究[J].东南大学学报(自然科学版),2004,34(6):751-755. 被引量:14
  • 3周晓宇,许蕾,徐宝文,陈火旺.Web应用的自动测试[J].计算机科学,2005,32(1):125-127. 被引量:8
  • 4章晓芳,徐宝文,聂长海,史亮.一种基于测试需求约简的测试用例集优化方法[J].软件学报,2007,18(4):821-831. 被引量:59
  • 5胡蓉,缪淮扣,刘焕洲.一种基于Web软件集成测试的建模方法[J].计算机科学,2007,34(6):253-257. 被引量:5
  • 6Pretschner Alexander, Lotzbeyer Heiko, Philipps Jan. Model based testing in evolutionary software development//Proceedings of the 12th IEEE International Workshop on Rapid System Prototyping. IEEE Computer Society, Washington, DC, USA, 2001:155-161.
  • 7Tonella Paolo, Ricca Filippo. Statistical testing of Web applications. Journal of Software Maintenance and Evolution: Research and Practice, 2004, 16(2): 103-127.
  • 8Utting Mark, Pretschner Alexander, Legeard Bruno. A taxonomy of model-based testing approaches. Software Testing, Verification and Reliability, Wiley Online Library, 2011: 1-16.
  • 9Neto Arilo C. Dias, Subramanyan Rajesh, et al. A survey on model-based testing approaches: A systematic review//Proceedings of the 1st ACM international Workshop on Empirical Assessment of Software Engineering Languages and Technologies: Held in Conjunction with the 22nd IEEE/ ACM International Conference on Automated Software Engineering (ASE'07). ACM, New York, USA, 2007:31-36.
  • 10Lucca G A D, Fasolino A R. Testing Web-based applications : The state of the art and future trends. Information and Software Technology, 2006, 48(12) : 1172-1186.

共引文献23

同被引文献15

引证文献2

二级引证文献16

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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