摘要
随着指挥信息系统软件规模急剧膨胀,传统的阶段式、集中式软件测试已不能适应大型软件需求快速迭代的研发模式需求。持续集成已被认可是尽早发现缺陷的最佳实践,通过自动化的构建、测试流水线、发布和部署,为提高软件开发效率、保障软件产品质量提供了理论支撑。文章通过持续集成工具Jenkins配合静态分析工具Klocwork和单元测试框架搭建软件代码缺陷持续测试平台,支持多种开发平台和语言,使集成、测试和缺陷推送完全自动化。在此基础上开发测试平台运行状态监控和缺陷数据统计与可视化后台,辅助运维人员维护平台和项目负责人把控项目整体开发进度。
As command information system expands rapidly in size,traditional staged and centralized software test no longer adapts to the rapid development pattern of software.CI has been acknowledged as the best practice of early detection of defects.Through automatic building,pipeline,release and deployment,CI provides the theory support of improving software development productivity and guaranteeing the quality of software products.The paper builds continuous testing platform of software code defects by using Jenkins,Klocwork and unit test framework.It supports multiple development platforms and languages,and makes integration,test and defects notification automatic and unattended.Based on the continuous testing platform,a dashboard of monitoring the operating state of the platform and defects statistics and virtualization is developed,supporting the operational people debugging errors and the project manager controlling project overall process.
作者
朱志东
张素芬
Zhu Zhidong;Zhang Sufen(The 28th Research Institute of China Electronics Technology Group Corporation,Nanjing 210007,China)
出处
《信息化研究》
2018年第3期67-73,共7页
INFORMATIZATION RESEARCH
关键词
持续集成
代码缺陷
静态分析
单元测试
流水线
continuous integration
code defects
static analysis
unit test
pipeline