• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2016, Vol. 38 ›› Issue (05): 921-931.

• 论文 • 上一篇    下一篇

工业软件现场测试中的拆分及其测试数据设计

赵一丁1,樊银亭1,郑秋生1,楚纪正2,罗菁1   

  1. (1.中原工学院计算机学院,河南 郑州450007;2.北京化工大学信息科学与技术学院,北京 100029)
  • 收稿日期:2015-10-14 修回日期:2015-12-15 出版日期:2016-05-25 发布日期:2016-05-25
  • 基金资助:

    国家自然科学基金(61472025,U1304611); 河南省高等学校重点科研项目(15A520034)

Subset of field testing for industrial
software and generation of test data       

ZHAO Yiding1,FAN Yinting1,ZHENG Qiusheng1,CHU Jizheng2,LUO Jing1   

  1. (1.School of Computer Science,Zhongyuan University of Technology,Zhengzhou 450007;2.College of Information Science and Technology,Beijing University of Chemical Technology,Beijing 100029,China)
  • Received:2015-10-14 Revised:2015-12-15 Online:2016-05-25 Published:2016-05-25

摘要:

在工业软件的用户生产现场测试中,可能由于操作风险、用户生产限制等约束而导致测试不充分,针对实践中的难点提出新的现场测试过程及其测试数据生成方法。定义了测试拆分子集及相关属性概念,根据现场因素设计的测试拆分子集提高了现场测试可主动性;综合现场因素设计拆分方案,采用针对性的辅助管理程序引导每个测试拆分子集的现场测试的实施;通过对生产现场的历史数据的处理建立针对各测试拆分子集的测试准备数据库,以搜索测试准备数据库的结果为依据并结合现场因素设计现场主动测试的输入数据,并说明了实践中的综合实施过程。通过石化生产优化控制系统的现场测试的实际案例,说明了这种方法能够在预防风险的前提下显著提高现场测试的充分性和测试效率。

关键词: 现场测试, 可测性, 测试覆盖率, 风险, 软件测试

Abstract:

Field testing of industrial software may be insufficient due to risk and other constraints. Aiming at the above problems in practice, we propose an innovative approach of field testing. The concept of testing subset and the related attributes are defined. Testing subset is designed according to a comprehensive variety of factors concerning customers' production, through which the initiative of the field testing is improved. Every testing subset can be driven by corresponding auxiliary program for field testing. Preparation databases for different testing subsets are established based on historical data. The input data for active tests are designed based on the search results of the preparation databases in combination with the factors on the field through multiple steps. The integrated implementation process in practice is illustrated. The practical case of field testing on the optimal control system of petrochemical production proves that the proposed method can improve the sufficiency and efficiency of field testing significantly on the premise of risk prevention.

Key words: field test;testability;test coverage;risk;software testing