数据与计算发展前沿 ›› 2021, Vol. 3 ›› Issue (2): 77-85.

doi: 10.11871/jfdc.issn.2096-742X.2021.02.009

• 管理决策与智能应用专刊 • 上一篇    下一篇

面向大型管理信息系统的自动化测试设计与实现

陈果(),谢建军(),周小军()   

  1. 中国科学院计算机网络信息中心,北京100190
  • 收稿日期:2021-03-01 出版日期:2021-04-20 发布日期:2021-05-18
  • 通讯作者: 陈果
  • 作者简介:陈果,中国科学院计算机网络信息中心,工程师,硕士,主要研究方向为软件测试与软件质量管理。
    本文中负责测试发展现状调研、自动化测试的设计与实现。
    CHEN Guo, master, is an engineer of Computer Network Information Center, Chinese Academy of Sciences. Her main research directions are software testing and software quality management.
    In this paper, she is responsible for the research review of the current situation of testing tools, and design and implementation of automation testing.
    E-mail: chenguo@cnic.cn|谢建军,中国科学院计算机网络信息中心,高级工程师,硕士,主要研究方向为大型信息系统关键技术和信息安全。
    本文中负责ARP系统概述和应用效果分析。
    XIE Jianjun, master, is a senior engineer of Computer Network Information Center, Chinese Academy of Sciences. His main research directions are key technology of large-scale information system and information security.
    In this paper, he is responsible for the analysis of ARP system architecture and summarizing automatic testing achievement in ARP.
    E-mail: xiejj@cnic.cn|周小军,中国科学院计算机网络信息中心,高级工程师,硕士,研究生导师,主要研究方向为大型信息系统关键技术和数据智能应用。
    本文中负责测试计划和结论展望。
    ZHOU Xiaojun, master, is a senior eng-ineer and the master tutor at Computer Network Information Center, Chinese Academy of Sciences. His main research directions are key technologies of large-scale information system and AI application of data.
    In this paper, he is responsible for the testing plan and summ-arizing the conclusion.
    E-mail: xjzhou@cnic.cn

Design and Implementation of Automation Testing in Large-Scale Management Information Systems

CHEN Guo(),XIE Jianjun(),ZHOU Xiaojun()   

  1. Computer Network Information Center, Chinese Academy of Sciences, Beijing 100190, China
  • Received:2021-03-01 Online:2021-04-20 Published:2021-05-18
  • Contact: CHEN Guo

摘要:

【目的】如今自动化测试已成为软件开发过程中必不可少的一环,中国科学院大型管理信息系统ARP(Academia Resource Planning)采用敏捷开发模式,更是亟需自动化测试来保障软件质量。【方法】本文介绍了设计的自动化接口测试和自动化界面测试两种框架,并详细介绍了利用这两种框架生成的自动化测试在ARP系统中的应用情况。【结果】ARP系统的多次发版表明,自动化测试有效地提高了测试效率,高效地检测出了软件缺陷,保障了软件的质量。【结论】软件质量管理是一个系统工程,全面提升软件质量需要软件工程的各个环节进行保障。

关键词: 自动化测试, 接口测试, 界面测试, JMeter, Nightwatch

Abstract:

[Objective] Automation testing has become a cornerstone in software development projects worldwide. Large-scale management information system ARP(Academia Resource Planning) takes agile software development cycle, which needs automation testing to ensure high quality of software. [Methods] This article introduces the design of the automatic API testing framework and the automatic UI testing framework. The details of how to apply them in ARP system are demonstrated. [Results] The releases of ARP show that automation testing can detect software defects efficiently and ensure software quality. [Conclusions] Software quality management is a comprehensive project, and all stages of the software development process should contribute to ensuring the improvement of software quality.

Key words: automation testing, API testing, UI testing, JMeter, Nightwatch