Intra-class testing of abstract class features

被引:0
|
作者
Clarke, Peter J. [1 ]
Babich, Djuradj [1 ]
King, Tariq M. [1 ]
Power, James F. [2 ]
机构
[1] Florida Int Univ, Sch Comp & Informat Sci, Miami, FL 33199 USA
[2] Natl Univ Ireland Univ Coll Cork, Dept Comp Sci, Maynooth, Kildare, Ireland
基金
美国国家科学基金会;
关键词
D O I
10.1109/ISSRE.2007.11
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
One of the characteristics of the increasingly widespread use of object-oriented libraries and the resulting intensive use of inheritance is the proliferation of dependencies on abstract classes. Such classes defer the implementation of some features, and are typically used as a specification or design tool. However since their features are not fully implemented, abstract classes cannot be instantiated, and thus pose challenges for execution-based testing strategies. This paper presents a structured approach that supports the testing of features in abstract classes. Core to the approach is a series of static analysis steps that build a comprehensive view of the inter-class dependencies in the system under test. We then leveraged this information to define a test order for the methods in an abstract class that minimizes the number of stubs required during testing, and clearly identifies the required functionality of these stubs. Our approach is based on a comprehensive taxonomy Of object-oriented classes that provides a framework for our analysis. First we describe the algorithms to calculate the inter-class dependencies and the test-order that minimizes stub creation. Then we give an overview of our tool, AbstractTestJ that implements our approach by generating a test order for the methods in an abstract Java class. Finally, we harness this tool to provide an analysis of 12 substantial Java applications that demonstrates both the feasibility of our approach and the importance of this technique.
引用
收藏
页码:191 / +
页数:2
相关论文
共 50 条
  • [1] INTRA-CLASS CONFLICT
    Ross, Edward A.
    SOCIOLOGY AND SOCIAL RESEARCH, 1930, 14 (06): : 524 - 530
  • [2] TESTING FOR INDEPENDENCE IN INTRA-CLASS CONTINGENCY-TABLES
    HABER, M
    BIOMETRICS, 1982, 38 (01) : 93 - 103
  • [3] INTRA-CLASS RANK CORRELATION
    WHITFIELD, JW
    BIOMETRIKA, 1949, 36 (3-4) : 463 - 467
  • [4] Comparing classical criteria for selecting intra-class correlated features in Multimix
    Hunt, Lynette A.
    Basford, Kaye E.
    COMPUTATIONAL STATISTICS & DATA ANALYSIS, 2016, 103 : 350 - 366
  • [5] On intra-class correlation coefficient estimation
    Nabendu Pal
    Wooi K. Lim
    Statistical Papers, 2004, 45 : 369 - 392
  • [6] Exact approaches for testing hypotheses based on the intra-class kappa coefficient
    Wilding, Gregory E.
    Consiglio, Joseph D.
    Shan, Guogen
    STATISTICS IN MEDICINE, 2014, 33 (17) : 2998 - 3012
  • [7] NONPARAMETRIC MEASURES OF INTRA-CLASS CORRELATION
    SHIRAHATA, S
    COMMUNICATIONS IN STATISTICS PART A-THEORY AND METHODS, 1982, 11 (15): : 1707 - 1721
  • [8] Intra-class variability in ATR systems
    Bhatnagar, R
    Dilsavor, R
    Minardi, M
    Pitts, D
    ALGORITHMS FOR SYNTHETIC APERTURE RADAR IMAGERY V, 1998, 3370 : 383 - 395
  • [9] On intra-class correlation coefficient estimation
    Pal, N
    Lim, WK
    STATISTICAL PAPERS, 2004, 45 (03) : 369 - 392
  • [10] kaphom: An R package for testing the homogeneity of intra-class kappa statistics
    Albayrak, Muammer
    Turhan, Kemal
    Yavuz, Yasemin
    Aydin Kasap, Zeliha
    COMMUNICATIONS IN STATISTICS-SIMULATION AND COMPUTATION, 2020, 49 (12) : 3283 - 3298