北京邮电大学学报

  • EI核心期刊

北京邮电大学学报 ›› 2016, Vol. 39 ›› Issue (5): 89-93,115.doi: 10.13190/j.jbupt.2016.05.018

• 研究报告 • 上一篇    下一篇

着色Petri网模型驱动的云测试生成方法与实现

刘靖1, 吴海博2, 王少帅1, 贾垒1   

  1. 1. 内蒙古大学 计算机学院, 呼和浩特 010021;
    2. 中国科学院 计算机网络信息中心, 北京 100190
  • 收稿日期:2015-10-19 出版日期:2016-10-28 发布日期:2016-12-02
  • 作者简介:刘靖(1981-),男,博士,副教授,E-mail:liujing@imu.edu.cn.
  • 基金资助:
    国家自然科学基金项目(61262017);内蒙古自然科学基金项目(2015MS0611)

A Colored Petri Nets Model Based Cloud Test Generation Approach and Implementation System

LIU Jing1, WU Hai-bo2, WANG Shao-shuai1, JIA Lei1   

  1. 1. College of Compute Science, Inner Mongolia University, Hohhot 010021, China;
    2. Computer Network Information Center, Chinese Academy of Sciences, Beijing 100190, China
  • Received:2015-10-19 Online:2016-10-28 Published:2016-12-02

摘要: 为进一步提高测试生成效率,提升大规模测试生成的自动化程度,构建了一种基于着色Petri网模型的一致性云测试生成方法,称为PT-Cloud方法,并将该方法实现为可提供一致性测试生成服务的云测试生成平台.该方法利用MapReduce技术,实现了面向测试生成需求的被测系统着色Petri网模型重构和标记,并在此基础上以实际测试数据驱动一致性测试例的自动生成.经实际测试生成和执行实践验证,PT-Cloud方法能保证所生成的测试例是切实可执行的,同时有效提高了测试生成的效率和自动化程度.

关键词: 测试生成, 着色Petri网, 云计算, MapReduce

Abstract: To improve efficiency and automation degree of large-scale test generation, a colored Petri nets (CPN) model based conformance test generation approach, named as PT-Cloud approach, is proposed and implemented to provide a cloud based conformance test case generation service. Utilizing MapReduce technology, PT-Cloud approach could perform test generation oriented model reconfiguration and labeling process, and then test cases with actual input data could be automatically generated. Validated through practical test generation and execution, the PT-Cloud approach could guarantee that all generated test cases are sufficiently feasible for practical test executions, and the efficiency and automatic degree of test generation are effectively promoted.

Key words: test generation, colored Petri nets, cloud computing, MapReduce

中图分类号: