摘要
为解决软件集成测试环境与测试对象之间的接口匹配问题,分析软件持续集成过程中动态集成测试对象内部接口与外接接口转化的一般规律,综合考虑软件集成测试对象不断变化的特点,提出一种通用的软件集成测试平台设计方案。依据软件架构对各部件输入、输出接口的定义,统一采用所有部件输入接口的并集作为测试输入接口。计算测试对象内各部件输入接口与其余部件输出接口的交集,得出测试对象的内部接口;分别计算测试对象中所有部件输入、输出接口的并集,从中去除内部接口,生成测试对象的外部输入、输出接口。案例分析表明,该方案有效可行,软件集成测试平台能够自适应匹配变化的集成测试对象外部接口。
To deal with the interface-matching problem between software integration test environment and test object,general conversion rules between internal and external interfaces for dynamically integrating test objects during continuous software integration process were analyzed,and characteristic of software integration test objects’ frequent changing was also taken into consideration.A general design proposal of software integration test platform was presented.Based on interface definitions for each component in software architecture,input interfaces of all components were brought together to constitute universal test case input interfaces.All input interfaces of every component were intersected with all output interfaces of the rest components in turn,whose results were summarized to obtain the internal interfaces of the test object.The unions of input and output interfaces of all components in the test object were calculated separately,from which the internal interfaces were removed to obtain the external input and output interfaces of the test object.Practical application analysis demonstrates the validity and feasibility of the presented general design proposal,the software integration test platform conforming to the proposed method can be self-adaptive to match the external interfaces of integration test objects changing continually.
作者
王影
WANG Ying(R&D Center Department of Control Systems, AECC Commercial Aircraft Engine Limited Company, Shanghai 201108, Chin)
出处
《计算机工程与设计》
北大核心
2018年第8期2675-2681,共7页
Computer Engineering and Design
关键词
软件集成测试
测试平台
设计方案
外部接口
动态匹配
software integration test
test platform
design proposal
external interface
dynamic match