An empirical study into class testability

被引:74
作者
Bruntink, Magiel
van Deursen, Arie
机构
[1] CWI, NL-1098 SJ Amsterdam, Netherlands
[2] Delft Univ Technol, Fac Elect Engn Math & Comp Sci, NL-2628 CD Delft, Netherlands
关键词
testability; software metrics; object-oriented systems; software testing; unit testing;
D O I
10.1016/j.jss.2006.02.036
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper we investigate factors of the testability of object-oriented software systems. The starting point is given by a study of the literature to obtain both an initial model of testability and existing object-oriented metrics related to testability. Subsequently, these metrics are evaluated by means of five case studies of commercial and open source Java systems for which JUnit test cases exist. The goal of this paper is to identify and evaluate a set of metrics that can be used to assess the testability of the classes of a Java system. (C) 2006 Elsevier Inc. All rights reserved.
引用
收藏
页码:1219 / 1232
页数:14
相关论文
共 41 条
[1]  
[Anonymous], 1996, NIST SPECIAL PUBLICA
[2]   Measuring and improving design patterns testability [J].
Baudry, B ;
Le Traon, Y ;
Sunyé, G ;
Jézéquel, JM .
NINTH INTERNATIONAL SOFTWARE METRICS SYMPOSIUM, PROCEEDINGS, 2003, :50-59
[3]   Testability analysis of a UML class diagram [J].
Baudry, B ;
Le Traon, Y ;
Sunyé, G .
EIGHTH IEEE SYMPOSIUM ON SOFTWARE METRICS, PROCEEDINGS, 2002, :54-63
[4]  
Beck K, 1998, JAVA REP, V3, P37
[5]  
Beck K., 1999, EXTREME PROGRAMMING
[6]  
Beck K., 1994, SMALLTALK REPORT, V4
[7]  
Beck Kent, 2003, Test-driven development: by example
[8]  
Binder R.V., 2000, AW OBJ TECHNOL S
[9]   DESIGN FOR TESTABILITY IN OBJECT-ORIENTED SYSTEMS [J].
BINDER, RV .
COMMUNICATIONS OF THE ACM, 1994, 37 (09) :87-101
[10]  
Boehm B. W., 1981, SOFTWARE ENG EC