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 条
  • [11] Testing Java']Java
    Comerford, R
    IEEE SPECTRUM, 1997, 34 (09) : 107 - 107
  • [12] Creating .INI classes in Java']Java
    Meyer, M
    DR DOBBS JOURNAL, 2003, 28 (08): : 38 - +
  • [13] Refactoring for parameterizing Java']Java classes
    Kiezun, Adam
    Ernst, Michael D.
    Tip, Frank
    Fuhrer, Robert M.
    ICSE 2007: 29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2007, : 437 - 446
  • [14] Graph6Java']Java: A Researcher-Friendly Java']Java Framework for Testing Conjectures in Chemical Graph Theory
    Ghebleh, Mohammad
    Kanso, Ali
    Stevanovic, Dragan
    MATCH-COMMUNICATIONS IN MATHEMATICAL AND IN COMPUTER CHEMISTRY, 2019, 81 (03) : 737 - 770
  • [15] Implementation of table driven routing protocol for small sized MANET using bluetooth in JAVA']JAVA
    Inayatullah, Mohammad
    Shah, Syed Waqar
    Khan, Zeeshan
    Raza, Syed Sajjad
    Suhail, Ahsan
    THIRD INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES 2007, PROCEEDINGS, 2007, : 27 - 30
  • [16] An integrated regression testing framework to multi-threaded Java']Java programs
    Li, Bixin
    Wang, Yancheng
    Yang, LiLi
    SOFTWARE ENGINEERING TECHNIQUES: DESIGN FOR QUALITY, 2006, 227 : 237 - +
  • [17] Ctest4J: A Practical Configuration Testing Framework for Java']Java
    Wang, Shuai
    Lian, Xinyu
    Li, Qingyu
    Marinov, Darko
    Xu, Tianyin
    COMPANION PROCEEDINGS OF THE 32ND ACM INTERNATIONAL CONFERENCE ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, FSE COMPANION 2024, 2024, : 562 - 566
  • [18] Unit Testing in Java']Java
    Proulx, Viera K.
    Jossey, Weston
    ITICSE 2009: PROCEEDING OF THE 2009 ACM SIGSE ANNUAL CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, 2009, : 349 - 349
  • [19] Java']Java GUI testing
    Walworth, A
    DR DOBBS JOURNAL, 1997, 22 (02): : 30 - +
  • [20] Testing Java']Java servlets
    DiMaggio, L
    DR DOBBS JOURNAL, 2004, 29 (08): : 26 - +