摘要
软件体系结构测试是对构件功能描述和接口描述的测试,是保证基于构件的软件系统质量的重要手段.提出一种新的软件体系结构级路径覆盖方法,用Wright描述软件体系结构并将体系结构配置行为转换成改进的配置行为图表示构件内部计算及外部迁移信息,根据构件连接路径覆盖准则C_CPC和构件连接路径覆盖生成算法F indC_CPaths,生成相应的测试路径.基于此设想实现了工具WTPT,通过实验及其分析表明了算法的正确性和有效性.最后对构件连接路径覆盖准则进行评估,评估结果为应用该覆盖准则提供了理论依据.
Software architecture testing is important means in software integration testing stage, which tests the function of the component and the interface. The paper proposes a new path coverage method for architecture-level. Firstly, this method describes software architecture with Wright, secondly, transform the architecture configuration behavior to revised configuration behavior graph to indicate the computation of the single component and the transfer, thirdly, based on the component connected path coverage criteria and the component connected path coverage generation algorithm FindC_CPaths, generate tested path. This approach is implemented in the WTPT tool. Experimental and analysis demonstrated the validity and efficiency of the algorithm FindC CPaths. Finally, the criteria is assessed, the assessing result provide a theoretical basis for applying the criteria.
出处
《小型微型计算机系统》
CSCD
北大核心
2010年第11期2166-2169,共4页
Journal of Chinese Computer Systems
基金
黑龙江省教育厅科技项目(10541098)资助
黑龙江省教育厅重点学科项目(081203)资助