期刊文献+

一种基于UML活动图的测试场景自动生成策略 被引量:2

A Scheme for Test Scene Automatic Generation Based on UML Activity Diagram
下载PDF
导出
摘要 传统的场景法在设计测试用例的过程中存在着构造场景困难、冗余度高、设计效率低下等问题。针对此问题,提出了一种基于UML活动图的测试场景自动生成策略。在建立活动流图模型后,采用改进的深度优先搜索算法获得路径集合,应用路径优化算法生成测试路径及测试场景。通过在商用的供应商协同平台的测试过程中应用该策略,验证了其有效性。实践结果表明,该策略较好的解决了循环工作流产生的路径爆炸问题,降低了测试场景的冗余度。 In the process of designing test case through the traditional scene method,there are many problems,including scene construction difficulty,high redundancy and low design efficiency.To solve this problem,the paper proposes a scheme for test scene automatic generation based on UML activity diagram.On the basis of the activity flow graph,the improved depth-first search algorithm is adopted to obtain path collection,and the path optimization algorithm method is applied to generate test path and test scene.The effectiveness of this scheme has already been verified in a testing process of a commercial supplier collaboration platform.The practice results indicate that the scheme can effectively solve the problem of path explosion caused by cycle workflow and significantly reduce the redundancy of test scene.
作者 曹阳 刘正涛 CAO Yang LIU Zhengtao(College of Computer Science and Engineering,Sanjiang UniversiOz, Nanjing 21 O012,China)
出处 《软件工程》 2016年第8期19-22,共4页 Software Engineering
基金 江苏省电力公司科技项目(No.J2014057) 横向课题"供应商管理平台与车间作业现场管理平台"(KH150025) 江苏省教育科学"十二五"规划2015年度高教重点课题(B-b/2015/01/084) 江苏省现代教育技术研究重点课题(2015-R-42743)
关键词 测试场景 活动流图 深度优先搜索 独立路径 自动生成 test scene activity flow graph depth-first search independent path automatic generation
  • 相关文献

参考文献11

  • 1Anand S,et al.An Orchestrated Survey of Methodologies for Automated Software Test Case Generation[J].Journal of Systems and Software,2013,86(8):1978-2001.
  • 2Utting M,Pretschner A,Legeard B.A Taxonomy of Modelbased Testing Approaches[J].Software Testing Verification and Reliability,2012,22(5):297-312.
  • 3Shirole M,Kumar R.UML Behavioral Model Based Test Case Generation:a Survey[J].ACM SIGSOFT Software Engineering Notes,2013,38(4):1-13.
  • 4周飞,杨根兴,蔡立志.基于UML的测试用例生成方法研究[J].计算机应用与软件,2009,26(2):107-110. 被引量:11
  • 5苏翠翠,王晓军.基于UML活动图的测试用例生成方法研究[J].计算机技术与发展,2010,20(8):49-51. 被引量:6
  • 6Jena A K,Swain S K,Mohapatra D P.A Novel Approach for Test Case Generation from UML Activity Diagram[C].Issues and Challenges in Intelligent Computing Techniques(ICICT),2014International Conference on.IEEE,2014:621-629.
  • 7Kundu D,Samanta D.A Novel Approach to Generate Test Cases from UML Activity Diagrams[J].Journal of Object Technology,2009,8(3):65-83.
  • 8杨鹤标,李云平.基于UML活动图的功能测试场景生成方法[J].计算机工程,2011,37(21):55-57. 被引量:5
  • 9陈鑫,姜鹏,张一帆,黄超,周岩.一种面向列车控制系统中安全攸关场景的测试用例自动生成方法[J].软件学报,2015,26(2):269-278. 被引量:16
  • 10Sharma C,Sabharwal S,Sibal R.A Survey on Software Testing Techniques Using Genetic Algorithm[J].International Journal of Computer Science Issues,2014,10(1):381-393.

二级参考文献53

共引文献35

同被引文献19

引证文献2

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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