A framework for table driven testing of Java']Java classes

被引:10
|
作者
Daley, N
Hoffman, D
Strooper, P
机构
[1] Univ Victoria, Dept Comp Sci, Victoria, BC V8W 3P6, Canada
[2] Sun Microsyst Inc, Burlington, MA 01803 USA
[3] Univ Queensland, Software Verificat Res Ctr, Sch Informat Technol & Elect Engn, Brisbane, Qld 4072, Australia
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2002年 / 32卷 / 05期
关键词
!text type='Java']Java[!/text; automated class testing; unit testing;
D O I
10.1002/spe.452
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
With the advent of object-oriented languages and the portability of Java, the development and use of class libraries has become widespread. Effective class reuse depends on class reliability which in turn depends on thorough testing. This paper describes a class testing approach based on modeling each test case with a tuple and then generating large numbers of tuples to thoroughly cover an input space with many interesting combinations of values. The testing approach is supported by the Roast framework for the testing of Java classes. Roast provides automated tuple generation based on boundary values, unit operations that support driver standardization, and test case templates used for code generation. Roast produces thorough, compact test drivers with low development and maintenance cost. The framework and tool support are illustrated on a number of non-trivial classes, including a graphical user interface policy manager. Quantitative results are presented to substantiate the practicality and effectiveness of the approach. Copyright (C) 2002 John Wiley Sons, Ltd.
引用
收藏
页码:465 / 493
页数:29
相关论文
共 50 条
  • [21] Java']Java classes for nonprocedural variogram modeling
    Faulkner, BR
    COMPUTERS & GEOSCIENCES, 2002, 28 (03) : 387 - 397
  • [22] Synthesis of interface specifications for Java']Java classes
    Alur, R
    Cerny, P
    Madhusudan, P
    Nam, W
    ACM SIGPLAN NOTICES, 2005, 40 (01) : 98 - 109
  • [23] Energy Profiles of Java']Java Collections Classes
    Hasan, Samir
    King, Zachary
    Hafiz, Munawar
    Sayagh, Mohammed
    Adams, Bram
    Hindle, Abram
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, : 225 - 236
  • [24] Algebraic Java']Java classes for numerical optimization
    Schwab, M
    Schroeder, J
    CONCURRENCY-PRACTICE AND EXPERIENCE, 1998, 10 (11-13): : 1155 - 1164
  • [25] NetRexx - An alternative for writing Java']Java classes
    Cowlishaw, M
    IEEE COMPCON 97, PROCEEDINGS, 1997, : 200 - 205
  • [26] Discovering documentation for Java']Java container classes
    Henkel, Johannes
    Reichenbach, Christoph
    Diwan, Amer
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2007, 33 (08) : 526 - 543
  • [27] Converting Java']Java classes to use generics
    von Dincklage, D
    Diwan, A
    ACM SIGPLAN NOTICES, 2004, 39 (10) : 1 - 14
  • [28] JWalk: a tool for lazy, systematic testing of java']java classes by design introspection and user interaction
    Simons, Anthony J. H.
    AUTOMATED SOFTWARE ENGINEERING, 2007, 14 (04) : 369 - 418
  • [29] JUTA: An automated unit testing framework for Java
    Institute of Software, Chinese Acad. of Sci., Beijing 100190, China
    不详
    不详
    Jisuanji Yanjiu yu Fazhan, 1600, 10 (1840-1848):
  • [30] JaVerT: Java']JavaScript Verification and Testing Framework
    Gardner, Philippa
    PPDP'18: PROCEEDINGS OF THE 20TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, 2018,