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 条
  • [1] Testing Java']Java classes
    Handwerker, M
    DR DOBBS JOURNAL, 1999, 24 (09): : 10 - +
  • [2] DaTeC: Contextual Data Flow Testing of Java']Java Classes
    Denaro, Giovanni
    Gorla, Alessandra
    Pezze, Mauro
    2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, COMPANION VOLUME, 2009, : 421 - +
  • [3] An extensible framework for testing distributed Java']Java applications
    Ghosh, S
    Bawa, N
    Craig, G
    Kalgaonkar, K
    JOURNAL OF RESEARCH AND PRACTICE IN INFORMATION TECHNOLOGY, 2001, 33 (02): : 120 - 132
  • [4] A framework of reachability testing for Java']Java multithread programs
    Li, SQ
    Chen, HY
    Sun, YX
    2004 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN & CYBERNETICS, VOLS 1-7, 2004, : 2730 - 2734
  • [5] TestEra: A novel framework for automated testing of Java']Java programs
    Marinov, D
    Khurshid, S
    16TH ANNUAL INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2001), PROCEEDINGS, 2001, : 22 - 31
  • [6] Framework for testing multi-threaded Java']Java programs
    Edelstein, O
    Farchi, E
    Goldin, E
    Nir, Y
    Ratsaby, G
    Ur, S
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2003, 15 (3-5): : 485 - 499
  • [7] Investigating Java']Java type analyses for the receiver-classes testing criterion
    Brunelle, PL
    Merlo, E
    Antoniol, G
    ISSRE 2003: 14TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2003, : 419 - 429
  • [8] A framework for event-driven demonstration based on the Java']Java toolkit
    Miura, M
    Tanaka, J
    3RD ASIA PACIFIC COMPUTER HUMAN INTERACTION, PROCEEDINGS, 1998, : 331 - 336
  • [9] JComp: A reuse-driven componentization framework for Java']Java applications
    Li, Shimin
    Tahvildari, Ladan
    14TH IEEE INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2006), PROCEEDINGS, 2006, : 264 - +
  • [10] Mutation Testing for Java']Java based on Model-Driven Development
    Gonzalez, Ariel
    Luna, Carlos
    Bressan, Gonzalo
    2018 XLIV LATIN AMERICAN COMPUTER CONFERENCE (CLEI 2018), 2018, : 1 - 10