Journal of Systems Engineering and Electronics ›› 2011, Vol. 33 ›› Issue (9): 2133-2138.doi: 10.3969/j.issn.1001-506X.2011.09.40

• 软件、算法与仿真 • 上一篇    下一篇

基于框架的软件测试性分析

付剑平, 陆民燕, 刘斌   

  1. 北京航空航天大学可靠性与系统工程学院, 北京 100191
  • 出版日期:2011-09-17 发布日期:2010-01-03

Software testability analysis based on framework

FU Jian-ping, LU Min-yan, LIU Bin   

  1. School of Reliability and Systems Engineering, Beihang University, Beijing 100191, China
  • Online:2011-09-17 Published:2010-01-03

摘要:

软件测试性分析能帮助设计人员开发出更易测试的软件,从而减少软件测试的难度和费用。为了分析不同软件的测试性、提供各种测试性信息,提出一种基于框架的软件测试性分析方法。框架由测试性度量、易测试特性度量、测试性因素度量以及它们之间的关系构成。首先,根据不同软件的特点和测试情况,从框架中获取测试性因素度量|然后,分析影响同一易测试特性的测试性因素,通过模糊计算模型度量易测试特性|最后,综合易测试特性计算软件测试性。实例应用表明该方法确实可行,能够为软件开发提供帮助。

Abstract:

Software testability analysis can help designers to develop a program more testable and reduce the difficulty and cost of software testing. A method based on a framework is brought forward to analyze the testability of different programs and provide all kinds of testability information. The framework consists of a metric of testability, metrics of testable characteristics, metrics of testability factors and their relationships. Firstly, some metrics of testability factors are selected from the framework according to the features and testing conditions of different software. Then, testability factors which impact one testable characteristic are analyzed to calculate the testable characteristic through a fuzzy calculation model. Finally, all testable characteristics are considered together to measure the software testability. An application indicates the proposed method is feasible and helpful to the software development.