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

计算机工程与科学

• 论文 • 上一篇    下一篇

一种面向高性能数值模拟软件的自动化测试平台

田鸿运1,刘青凯1,成杰2,杨章1,单雅辉2   

  1. (1.北京应用物理与计算数学研究所,北京 100094;2.中国工程物理研究院高性能数值模拟软件中心,北京 100091)
  • 收稿日期:2016-11-02 修回日期:2016-12-07 出版日期:2017-11-25 发布日期:2017-11-25
  • 基金资助:

    科技部创新方法工作专项项目(2014IM010200);国家863计划(2014AA01A302);国家自然科学基金(11372049)

An automated testing platform for high
performance numerical simulation software

TIAN Hong-yun1,LIU Qing-kai1,CHENG Jie2,YANG Zhang1,SHAN Ya-hui2   

  1. (1.Institute of Applied Physics and Computational Mathematics,Beijing 100094;
    2.Center of High Performance Numerical Simulation Software,China Academy of Engineering Physics,Beijing 100091,China)
  • Received:2016-11-02 Revised:2016-12-07 Online:2017-11-25 Published:2017-11-25

摘要:

高性能数值模拟软件的快速研制是确保高性能数值模拟应用与高性能计算机协调发展的关键,是当前高性能计算应用领域亟待解决的瓶颈问题。软件测试是软件研制过程中不可或缺的重要环节,是影响软件研制效率的重要因素。研制适应于高性能数值模拟软件的自动化测试工具和环境对于软件的快速研发具有重要意义。当前广泛使用的商业、开源自动化测试平台无法很好地满足高性能数值模拟软件测试的需求,因此,设计实现了一种面向高性能数值模拟软件的自动化测试平台。该平台可以适应各类数值模拟软件的系统测试、验收测试需求,具有良好的跨平台性,简单易用,用户可同时通过多种方式方便快捷地访问测试结果,从而快速定位测试中发现的程序错误,为高性能数值模拟软件测试提供技术支撑。目前该平台已为实际的数值模拟软件研发提供测试验证服务,对中国工程物理研究院高性能数值模拟软件中心的19个软件,1 108个验收测试算例进行自动化测试,提供长时间的稳定测试服务,展现了该平台的普适性和稳定性。

关键词: 高性能数值模拟软件, 自动化测试, 测试管理工具

Abstract:

To develop high performance numerical simulation software rapidly is the key to ensure the co-development of both high performance numerical simulation application and high performance computer, which is a bottleneck problem in the field of high performance computing application. Software testing is an indispensable part of software development, and it also has an important influence on software development efficiency. As a result, developing automated testing tools for numerical simulation software has great significance. As the existing automated testing platforms cannot meet the current demands well, we design and implement an auto-batch testing platform. Thanks to the unified description method with the test cases and loose coupling mechanism with the verification tools, our platform can be adapted to any numerical simulation software. With cross-platform nature and easy usability, users can check the test report through many ways, such as shell command line and web page, to fix the program's errors replied by the test logs. Our platform is an exploration and attempt for numerical simulation software testing. It has already provided testing and verification service for actual software development process. 19 projects and 1108 test cases from the CAEP Center have used our platform to do automatic acceptance tests. Compatible to a variety of testing targets and providing stable services during days of full system test, our platform demonstrates its general applicability and good stability.

Key words: high performance numerical simulation software, automated testing, test management tool